summaryrefslogtreecommitdiff
path: root/configure
AgeCommit message (Collapse)AuthorFilesLines
2009-08-27Win32: Fix default prefixStefan Weil1-1/+1
The old code resulted in wrong escape sequences: #define CONFIG_QEMU_SHAREDIR "c:\Program Files\Qemu" gcc warnings: vl.c:5708:20: warning: unknown escape sequence '\P' vl.c:5708:20: warning: unknown escape sequence '\Q' Windows can handle slash (/) path separators, and QEMU already adds directories using slash, so there is no need to fight with the correct number of backslashes. Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Message-Id:
2009-08-27Option rom makefile fixesPaul Brook1-2/+3
Fix toplevel option rom makefile rules. Signed-off-by: Paul Brook <paul@codesourcery.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-07-16Generate $target_dir/config.h from $target_dir/config.makJuan Quintela1-30/+12
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-07-16Refactor config_softfloat selection in another listJuan Quintela1-20/+7
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-07-16rename s/config_mak/config_host_mak/ and s/config_h/config_host_h/Juan Quintela1-156/+155
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-07-16simplify TARGET_ABI_DIR generationJuan Quintela1-4/+9
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-07-16simplify TARGET_ARCH2 generationJuan Quintela1-8/+2
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-07-16simplify TARGET_BASE_ARCH generationJuan Quintela1-17/+16
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-07-16generate TARGET_<arch name> for config.hJuan Quintela1-17/+3
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-07-16generate TARGET_ARCH for config.hJuan Quintela1-18/+2
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-07-16Only setup TARGET_ARCH when it is different ofJuan Quintela1-11/+1
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-07-16print only once TARGET_ARCHJuan Quintela1-18/+19
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-07-16Refactor targe_bigendian selection in another listJuan Quintela1-14/+5
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-07-16Refactor common code using a listJuan Quintela1-48/+3
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-07-16generate ARCH name instead of coding itJuan Quintela1-34/+21
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-07-16We can wrap ARCH_CFLAGS/ARCH_LDFLAGS in CFLAGS/LDFLAGS at configure timeJuan Quintela1-7/+2
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-07-16We can wrap OS_CFLAGS/OS_LDFLAGS in CFLAGS/LDFLAGS at configure timeJuan Quintela1-4/+2
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-07-16configure kqemu in a single placeJuan Quintela1-10/+5
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-07-16configure kvm in a single placeJuan Quintela1-28/+13
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-07-16configure xen in a single placeJuan Quintela1-10/+7
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-07-16TARGET_ARCH2 is already known at configure time.Juan Quintela1-1/+6
Remove re-construction in Makefile.target Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-07-16configure already knows what TARGET_BASE_ARCH we need, no need to put the ↵Juan Quintela1-0/+8
logic in Makefile.target Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-07-16Fix multiboot.bin build on mingw32Anthony Liguori1-0/+6
This combination of ld/object was suggested by Bartlomiej Celary Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-07-09configure: Append extra cflags and ldflagsJan Kiszka1-6/+6
In order to allow overriding flags that are set by configure, we have to append them instead of prepending as it is done so far. v2: Clarify documentation. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-07-09configure: detect xen with --extra-cflags / --extra-ldflagsChristoph Egger1-2/+2
Attached patch lets configure find xen headers and xen libs when called with --extra-cflags and --extra-ldflags options. Signed-off-by: Christoph Egger <Christoph.Egger@amd.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-07-09Merge commit 'linux-user/linux-user-for-upstream' into tmp-stagingAnthony Liguori1-10/+6
2009-07-09Enable MIPS NPTLPaul Brook1-0/+1
Enable NPTL support for MIPS usermode emulation. Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-07-08configure: remove bogus linux-user checkRiku Voipio1-10/+6
linux-user=yes is not a reliable identifier that linux-user targets have been selected. user targets can be selected via --target-list as well.
2009-07-03Rename target_cpu to target_arch2Blue Swirl1-45/+45
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2009-06-29move CONFIG_* values from yes to yJuan Quintela1-37/+37
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-06-29Multiboot build system v4Alexander Graf1-1/+8
In order to build the multiboot option rom, we need a Makefile and a tool to sign the rom with. Both are provided by this patch and mostly taken from the extboot source, written by Anthony Liguori. Once built, the resulting binary gets copied to pc-bios automatically. Building also occurs automatically when on an x86 host. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-06-29Prefer ncurses over cursesJan Kiszka1-2/+10
Not every distro provides libcurses anymore, at least OpenSUSE, and at least under a standard library search path. So try to link against standard ncurses first and then fall back to legacy curses. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-06-23add sparc64-softmmu to default configure targets listIgor V. Kovalenko1-0/+1
Add sparc64 to default list of softmmu targets Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
2009-06-22Fix build on Mac OS XAnthony Liguori1-1/+9
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-06-16Fix help message for new configure option --enable-debug.Stefan Weil1-1/+1
The new option is --enable-debug, not --disable-debug. Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-06-16kvm: Restrict configure check to LinuxJan Kiszka1-2/+2
There is no point in trying to find KVM on anything else than Linux, at least for the moment. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-06-16linux-user: add tee, splice and vmsplicevibisreenivasan1-0/+23
Add support for tee, splice and vmsplice. Originally from: vibi sreenivasan <vibi_sreenivasan@cms.com> Riku: squashed patches together, added a test to configure and removed compliler warning by picking up correct type for splice param Signed-off-by: vibisreenivasan <vibi_sreenivasan@cms.com> Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
2009-06-16linux-user: implement pipe2 [v3]Riku Voipio1-0/+21
implement pipe2 syscall. [v2] fix do_pipe on mips and sh4 [v3] use pipe2 to ensure atomicity, but only when it is available. Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
2009-06-16linux-user: fix utimensatRiku Voipio1-0/+22
The glibc function for utimensat glibc returns -EINVAL when the path is null which is a different behaviour with the syscall. path can be null because internally the glibc is using utimensat with path null when implmenting futimens. If path is null, call futimes instead. don't try to copy timespec from user if is NULL. Add configure check for older systems Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
2009-06-13Really enable -WerrorBlue Swirl1-13/+14
487fefdb.. did not actually enable -Werror despite the claims made by configure output. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2009-06-12Enable -Werror by default for git builds on Linux hostsAnthony Liguori1-5/+13
Additional hosts can be added to the white list as they are confirmed to build with --enable-werror. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-06-07kvm: Improve upgrade notes when facing unsupported kernelsJan Kiszka1-2/+4
Users complained that it is not obvious what to do when kvm refuses to build or run due to an unsupported host kernel, so let's improve the hints. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
2009-06-07Fix generation of CONFIG_KVMBlue Swirl1-7/+8
When configuring for several targets, some with KVM and some without, CONFIG_KVM was accidentally disabled for some of the targets. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2009-06-04Add --enable-debugPaul Brook1-1/+15
New configure option for debug builds. Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-28Add detection of pthread library nameSebastian Herbszt1-5/+9
Try to detect the name of the pthread library. Currently it looks for "-pthread" and "-pthreadGC2". Signed-off-by: Sebastian Herbszt <herbszt@gmx.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-05-26microblaze: Hook into the build-system.Edgar E. Iglesias1-1/+20
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
2009-05-26Remove temporary config-host.hPaul Brook1-1/+8
Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-22Avoid errors when curl-config does not existPaul Brook1-1/+1
Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-22Add HTTP protocol using curl v6Alexander Graf1-0/+25
Currently Qemu can read from posix I/O and NBD. This patch adds a third protocol to the game: HTTP. In certain situations it can be useful to access HTTP data directly, for example if you want to try out an http provided OS image, but don't know if you want to download it yet. Using this patch you can now try it on on the fly. Just use it like: qemu -cdrom http://host/path/my.iso Signed-off-by: Alexander Graf <agraf@suse.de>
2009-05-21Compile most Xen files only onceBlue Swirl1-0/+5
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>