History | View | Annotate | Download (55.4 kB)
Move dis-* selection to configure
Signed-off-by: Juan Quintela <quintela@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>Message-Id:
Make slirp include dir globlal in cflags
We already include it everywhere
Generate CONFIG_AUDIO_PT_INT in configure
Fold TARGET_GPROF handling in configure
Generate more conmmon CFLAGS
Added CONFIG_NEED_MMU for microblaze and cris
fix typo, there should be bsd_user there
Move alpha CFLAGS target to configure
Move ia64 QEMU_CFLAGS target to configure
Introduce CONFIG_NOSOFTFLOAT and simplify Makefile.target
permit to add things to LDFLAGS for target
refactor linker_script common part and change quoting
permit to add things to CFLAGS per target
Test if we need -lutil in ,/configure
Fold CURSES_LIBS into libsoftmmu_libs
Fold VNC_TLS_LIBS into libs_softmmu
Fold VNC_SASL_LIBS into libs_softmmu
Fold XEN_LIBS into libs_softmmu
Fold BLUEZ_LIBS into libs_softmmu
Fold FDT_LIBS into libs_softmmu
Fold BRLAPI_LIBS into libs_softmmu
Add libs_softmmu variable
It is used only for softmmu variables
Add SDL_LIBS to libs_softmmu
move coreaudio libraries to coreaudio selection
Move sound library selection to sound selection
Rename CPPFLAGS to QEMU_CFLAGS
Now we have to variables: QEMU_CFLAGS: flags without which we can't compileCFLAGS: "-g -O2"
We can now run:
make CFLAGS="-fbar" foo.omake CFLAGS="" foo.omake CFLAGS="-O3" foo.o
And it all should work.
Signed-off-by: Juan Quintela <quintela@redhat.com>...
split QEMU_CFLAGS very long line
move common QEMU_CFLAGS to configure
Refactor HELPER_CFLAGS
Calculate its value in ./configure.Put together all its uses
move SDL_LIBS Win32 hack to configure
We want to pass LIB through configuration files now
PTHREADLIBS was used for all binaries
CLOCKLIBS was used for all binaries
Move to configure CONFIG_SOLARIS libraries needed always
Move to configure CONFIG_WIN32 libraries needed always
move sparc_cpu arg parsing to the begining
refactor sparc_cpu code to be in a single place
refactor $cpu selection in various places
reindent Operating System selection configure
remove unused temporal files
Add CURL_CFLAGS
sparc_* is defined through -D__sparc_*__
move mingw32 code after selection of OS
This variables can't be set here
refactor kqemu selection for both mingw32
We want to add options at the beggining, not at the end of variables
Remove OS_{CFLAGS, LDFLAGS} and ARCH_{LDFLAGS, CFLAGS}
Fold its values into LDFLAGS and CFLAGS
move EXTRA_CFLAGS/LDFLAGS to the very beginning
Now, we compile all the tests with the values passed through the commandline.
create compile_object/compile_prog functions
Instead of repeating the code through the file, create this two functions andcall them in all $cc invocations.
Signed-off-by: Juan Quintela <quintela@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>...
move general CFLAGS/LDFLAGS definitions after last $cc run
Use CFLAGS from enviroment, ARCH_CFLAGS hasn't been defined yet
move cpu command line setting to the beggining
move check_linker_flags sooner than starting of printing variables
remove not needed rt variable
move checks for bswap32/bswap_32 sooner than starting of printing variables
strip binary is not used anywhere
oss variable don't exist anymore
Win32: Fix default prefix
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,...
configure: let it find xen headers and libs
Attached patch lets configure find xen headers and libswith --extra-cflags and --extra-ldlfags option.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>...
Do not try to invoke shebang scripts directly (NFS issues)
Signed-off-by: malc <av1474@comtv.ru>
enable NPTL for ppc-linux-user targets in configure
Enabling support for ppc64-linux-user should be easy enough to do later.
Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>Signed-off-by: malc <av1474@comtv.ru>
Option rom makefile fixes
Fix toplevel option rom makefile rules.
Signed-off-by: Paul Brook <paul@codesourcery.com>
generate LDFLAGS for *-linux-user and *-bsd-user in a single place in configure
Remove lots of duplicate code in the process
Signed-off-by: Juan Quintela <quintela@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
set SEARCH_PATH for the linker script from output of ld --verbose -v
rename NEEDS_LIBSUNMATH to CONFIG_NEEDS_LIBSUNMATH
Once there fix a place where it was misspelled
rename USE_NPTL to CONFIG_USE_NPTL
Generate config-host.h from config-host.mak
Generate CONFIG_AUDIO_DRIVERS. Order is important here, because thefirst driver in the list is the one used by default.
Don't build option roms on Mac OS X
define ENOTSUP the same that the other errors
aliguori: ENOTSUP is not 4096 universally, only on OpenBSD
simplify brlapi selection
Use same style that everythnig else
simplify vde libs selection
simplify fdt libs selection
test if xen is enabled only once
the else part of this test is obsolete We are testing for sdl = yes inside the else part of the test if sdl = yes
sdl_config value was always sdl-config
Calculate sdl_libs and sdl_flags and use them everywhere
instead of setup sdl_x11 just add -lX11 to sdl_libs
target_softmmu is undefined at that point
remove sdl_static. Just do the right thing if static is yes
indent with 2 spaces sdl tests
Define and use xen libs in a single place
simplify curses library selection
rename HAVE_GPROF to TARGET_GPROF
Use was not consistent, in Makefile was TARGET_GPROF and in *h HAVE_GPROF
rename HAVE_BYTESWAP_H to CONFIG_BYTESWAP_H
rename DEBUG_TCG to CONFIG_DEBUG_TCG
rename DEBUG_EXEC to CONFIG_DEBUG_EXEC
rename WORDS_BIGENDIAN to HOST_WORDS_BIGENDIAN
Add CONFIG_POSIX
We need a way to define posix-like (a.k.a. no win32)
fix indententation
O_LARGEFILE is already set in qemu-common.h
rename HOST_BSD to CONFIG_BSD
define MAP_ANONYMOUS if it is not defined in qemu-common.h
rename HAVE_PREADV to CONFIG_PREADV
rename HAVE_IOVEC to CONFIG_IOVEC
rename HAVE_FNMATCH_H to CONFIG_FNMATCH
rename HAVE_MACHINE_BSWAP_H to CONFIG_MACHINE_BSWAP_H
Add -static in configure if needed
Rename HAVE_FDT to CONFIG_FDT and define it also in Makefile
move printing of config-host.mak variables to end of generation
make oss use OSS_LIBS