From: Juan Quintela <quintela@redhat.com>
To: qemu-devel@nongnu.org
Cc: aliguori@us.ibm.com
Subject: [Qemu-devel] [PATCH v3 00/47] More configure/Makefile cleanups
Date: Mon, 27 Jul 2009 16:12:39 +0200 [thread overview]
Message-ID: <cover.1248703754.git.quintela@redhat.com> (raw)
Hi
Changes in v3:
- split TARGET_CONFIG and HAVE_MACHINE_BSWAP_H patch
- fix commit message oc HOST_WORDS_BIGENDIAN
- use CONFIG_AUDIO_DRIVERS again. order is important, added
a comment to indicate it. Not used audio_init() suggestion,
as I don't want to delay more the inclusion of this series, will take
a look at that suggestion later.
I answered all the comments/suggestions from previous series
Comments?
Later, Juan.
Changes for v2:
- Changes to LIBS variable are gone (will be done in a different way)
- config-host.h generated from config-host.mak
- Almost everything configurable starts with:
- TARGET_*
- HOST_*
- CONFIG_*
- don't repeat libs name, use the same libraries in detection and in
Makefiles (in some cases that was not true)
- CONFIG_NOWIN32 is called CONFIG_POSIX
- sdl configuration is basically sane now
- AUDIO_DRIVERS define is gone, done in audio.c with #ifdefs
AUDIO_DRIVERS was a hack that is quite complicated to generate through
the Makefile.
Juan Quintela (47):
change HOST_SOLARIS to CONFIG_SOLARIS{_VERSION}
Remove SP_CFLAGS and SP_LDFLAGS
target_arch2 is redefined unconditionally later
remove CONFIG_ from VNC_TLS_{LIBS,FLAGS}
use same algorithm for testing and
remove CONFIG_ from VNC_SASL_{LIBS,FLAGS}
remove CONFIG_ from BLUEZ_{LIBS,FLAGS}
make fmod also use FMOD_{LIBS,CFLAGS}
make oss use OSS_LIBS
move printing of config-host.mak variables to end of generation
more specific config.mak can overwrote more general config.mak
Add -static in configure if needed
Rename HAVE_FDT to CONFIG_FDT and define it also in Makefile
Refactor code to remove one #ifdef CONFIG_FDT
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
rename HAVE_GPROF to TARGET_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
Use CONFIG_POSIX to simplify Makefile
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
simplify brlapi selection
simplify vde libs selection
simplify fdt libs selection
test if xen is enabled only once
define ENOTSUP the same that the other errors
rename NEEDS_LIBSUNMATH to CONFIG_NEEDS_LIBSUNMATH
rename USE_NPTL to CONFIG_USE_NPTL
Generate config-host.h from config-host.mak
move on_vcpu inside proper #ifdef
Makefile | 35 +---
Makefile.hw | 2 +-
Makefile.target | 43 ++---
acl.c | 4 +-
audio/audio.c | 7 +-
audio/audio.h | 2 +-
block.c | 4 +-
block/raw-posix.c | 4 +-
bsd-user/mmap.c | 2 +-
bsd-user/qemu.h | 6 +-
bsd-user/syscall.c | 6 +-
bswap.h | 12 +-
configure | 381 ++++++++++++++++--------------------
console.c | 8 +-
cpu-all.h | 12 +-
cpu-defs.h | 2 +-
cpu-exec.c | 16 +-
create_config | 57 +++++-
disas.c | 2 +-
dyngen-exec.h | 4 +-
exec.c | 2 +-
fpu/softfloat-native.c | 15 +-
fpu/softfloat-native.h | 11 +-
fpu/softfloat.h | 6 +-
gdbstub.c | 2 +-
hw/blizzard_template.h | 2 +-
hw/bt-hci.c | 2 +-
hw/gus.c | 2 +-
hw/omap_lcd_template.h | 2 +-
hw/petalogix_s3adsp1800_mmu.c | 8 +-
hw/pl110_template.h | 6 +-
hw/ppc440_bamboo.c | 2 +-
hw/ppce500_mpc8544ds.c | 4 +-
hw/pxa2xx_template.h | 2 +-
hw/vga.c | 14 +-
hw/vga_template.h | 6 +-
kqemu.c | 2 +-
kvm-all.c | 18 +-
linux-user/arm/nwfpe/double_cpdo.c | 4 +-
linux-user/arm/nwfpe/fpa11_cpdt.c | 4 +-
linux-user/main.c | 6 +-
linux-user/mmap.c | 2 +-
linux-user/qemu.h | 8 +-
linux-user/syscall.c | 26 ++--
loader.c | 4 +-
net.c | 6 +-
osdep.c | 12 +-
posix-aio-compat.c | 4 +-
qemu-char.c | 2 +-
qemu-common.h | 13 +-
qemu-lock.h | 2 +-
savevm.c | 4 +-
sdl.c | 4 +-
slirp/ip.h | 6 +-
slirp/slirp_config.h | 2 +-
slirp/tcp.h | 2 +-
target-arm/neon_helper.c | 2 +-
target-i386/cpu.h | 2 +-
target-i386/exec.h | 2 +-
target-i386/translate.c | 4 +-
target-mips/cpu.h | 4 +-
target-ppc/kvm_ppc.c | 2 +-
target-ppc/op_helper.c | 30 ++--
target-ppc/translate.c | 4 +-
target-ppc/translate_init.c | 4 +-
target-sparc/op_helper.c | 2 +-
tcg/arm/tcg-target.c | 2 +-
tcg/sparc/tcg-target.h | 2 +-
tcg/tcg.c | 2 +-
tcg/tcg.h | 2 +-
vl.c | 6 +-
vnc.c | 2 +-
72 files changed, 436 insertions(+), 462 deletions(-)
next reply other threads:[~2009-07-27 14:15 UTC|newest]
Thread overview: 56+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-27 14:12 Juan Quintela [this message]
2009-07-27 14:12 ` [Qemu-devel] [PATCH 01/47] change HOST_SOLARIS to CONFIG_SOLARIS{_VERSION} Juan Quintela
2009-07-27 14:12 ` [Qemu-devel] [PATCH 02/47] Remove SP_CFLAGS and SP_LDFLAGS Juan Quintela
2009-07-27 14:12 ` [Qemu-devel] [PATCH 03/47] target_arch2 is redefined unconditionally later Juan Quintela
2009-07-27 14:12 ` [Qemu-devel] [PATCH 04/47] remove CONFIG_ from VNC_TLS_{LIBS, FLAGS} Juan Quintela
2009-07-27 14:12 ` [Qemu-devel] [PATCH 05/47] use same algorithm for testing and Juan Quintela
2009-07-27 14:12 ` [Qemu-devel] [PATCH 06/47] remove CONFIG_ from VNC_SASL_{LIBS, FLAGS} Juan Quintela
2009-07-27 14:12 ` [Qemu-devel] [PATCH 07/47] remove CONFIG_ from BLUEZ_{LIBS,FLAGS} Juan Quintela
2009-07-27 14:12 ` [Qemu-devel] [PATCH 08/47] make fmod also use FMOD_{LIBS,CFLAGS} Juan Quintela
2009-07-27 14:12 ` [Qemu-devel] [PATCH 09/47] make oss use OSS_LIBS Juan Quintela
2009-07-27 14:12 ` [Qemu-devel] [PATCH 10/47] move printing of config-host.mak variables to end of generation Juan Quintela
2009-07-27 14:12 ` [Qemu-devel] [PATCH 11/47] more specific config.mak can overwrote more general config.mak Juan Quintela
2009-07-27 14:12 ` [Qemu-devel] [PATCH 12/47] Add -static in configure if needed Juan Quintela
2009-07-27 14:12 ` [Qemu-devel] [PATCH 13/47] Rename HAVE_FDT to CONFIG_FDT and define it also in Makefile Juan Quintela
2009-07-27 14:12 ` [Qemu-devel] [PATCH 14/47] Refactor code to remove one #ifdef CONFIG_FDT Juan Quintela
2009-07-27 14:12 ` [Qemu-devel] [PATCH 15/47] fix indententation Juan Quintela
2009-07-27 14:12 ` [Qemu-devel] [PATCH 16/47] O_LARGEFILE is already set in qemu-common.h Juan Quintela
2009-07-29 4:13 ` Todd T. Fries
2009-07-29 10:51 ` [Qemu-devel] " Juan Quintela
2009-07-27 14:12 ` [Qemu-devel] [PATCH 17/47] rename HOST_BSD to CONFIG_BSD Juan Quintela
2009-07-27 14:12 ` [Qemu-devel] [PATCH 18/47] define MAP_ANONYMOUS if it is not defined in qemu-common.h Juan Quintela
2009-07-27 14:12 ` [Qemu-devel] [PATCH 19/47] rename HAVE_PREADV to CONFIG_PREADV Juan Quintela
2009-07-27 14:12 ` [Qemu-devel] [PATCH 20/47] rename HAVE_IOVEC to CONFIG_IOVEC Juan Quintela
2009-07-27 14:13 ` [Qemu-devel] [PATCH 21/47] rename HAVE_FNMATCH_H to CONFIG_FNMATCH Juan Quintela
2009-07-27 14:13 ` [Qemu-devel] [PATCH 22/47] rename HAVE_MACHINE_BSWAP_H to CONFIG_MACHINE_BSWAP_H Juan Quintela
2009-07-27 14:13 ` [Qemu-devel] [PATCH 23/47] rename HAVE_GPROF to TARGET_GPROF Juan Quintela
2009-07-27 14:13 ` [Qemu-devel] [PATCH 24/47] rename HAVE_BYTESWAP_H to CONFIG_BYTESWAP_H Juan Quintela
2009-07-27 14:13 ` [Qemu-devel] [PATCH 25/47] rename DEBUG_TCG to CONFIG_DEBUG_TCG Juan Quintela
2009-07-27 14:13 ` [Qemu-devel] [PATCH 26/47] rename DEBUG_EXEC to CONFIG_DEBUG_EXEC Juan Quintela
2009-07-27 14:13 ` [Qemu-devel] [PATCH 27/47] rename WORDS_BIGENDIAN to HOST_WORDS_BIGENDIAN Juan Quintela
2009-07-27 14:13 ` [Qemu-devel] [PATCH 28/47] Add CONFIG_POSIX Juan Quintela
2009-07-27 14:13 ` [Qemu-devel] [PATCH 29/47] Use CONFIG_POSIX to simplify Makefile Juan Quintela
2009-08-01 15:54 ` [Qemu-devel] " Sebastian Herbszt
2009-08-01 16:06 ` Filip Navara
2009-08-03 8:38 ` Juan Quintela
2009-08-03 11:10 ` Filip Navara
2009-08-03 11:36 ` Juan Quintela
2009-07-27 14:13 ` [Qemu-devel] [PATCH 30/47] the else part of this test is obsolete We are testing for sdl = yes inside the else part of the test if sdl = yes Juan Quintela
2009-07-27 14:13 ` [Qemu-devel] [PATCH 31/47] sdl_config value was always sdl-config Juan Quintela
2009-07-27 14:13 ` [Qemu-devel] [PATCH 32/47] Calculate sdl_libs and sdl_flags and use them everywhere Juan Quintela
2009-07-27 14:13 ` [Qemu-devel] [PATCH 33/47] instead of setup sdl_x11 just add -lX11 to sdl_libs Juan Quintela
2009-07-27 14:13 ` [Qemu-devel] [PATCH 34/47] target_softmmu is undefined at that point Juan Quintela
2009-07-27 14:13 ` [Qemu-devel] [PATCH 35/47] remove sdl_static. Just do the right thing if static is yes Juan Quintela
2009-07-27 14:13 ` [Qemu-devel] [PATCH 36/47] indent with 2 spaces sdl tests Juan Quintela
2009-07-27 14:13 ` [Qemu-devel] [PATCH 37/47] Define and use xen libs in a single place Juan Quintela
2009-07-27 14:13 ` [Qemu-devel] [PATCH 38/47] simplify curses library selection Juan Quintela
2009-07-27 14:13 ` [Qemu-devel] [PATCH 39/47] simplify brlapi selection Juan Quintela
2009-07-27 14:13 ` [Qemu-devel] [PATCH 40/47] simplify vde libs selection Juan Quintela
2009-07-27 14:13 ` [Qemu-devel] [PATCH 41/47] simplify fdt " Juan Quintela
2009-07-27 14:13 ` [Qemu-devel] [PATCH 42/47] test if xen is enabled only once Juan Quintela
2009-07-27 14:13 ` [Qemu-devel] [PATCH 43/47] define ENOTSUP the same that the other errors Juan Quintela
2009-07-27 14:13 ` [Qemu-devel] [PATCH 44/47] rename NEEDS_LIBSUNMATH to CONFIG_NEEDS_LIBSUNMATH Juan Quintela
2009-07-27 14:13 ` [Qemu-devel] [PATCH 45/47] rename USE_NPTL to CONFIG_USE_NPTL Juan Quintela
2009-07-27 14:13 ` [Qemu-devel] [PATCH 46/47] Generate config-host.h from config-host.mak Juan Quintela
2009-07-27 14:13 ` [Qemu-devel] [PATCH 47/47] move on_vcpu inside proper #ifdef Juan Quintela
2009-07-27 15:00 ` [Qemu-devel] " Juan Quintela
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1248703754.git.quintela@redhat.com \
--to=quintela@redhat.com \
--cc=aliguori@us.ibm.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).