From: quintela@redhat.com
To: qemu-devel@nongnu.org
Cc: Juan Quintela <quintela@redhat.com>
Subject: [Qemu-devel] [PATCH 00/37] Generate a proper LIBS variable
Date: Fri, 17 Jul 2009 21:20:53 +0200 [thread overview]
Message-ID: <cover.1247858024.git.quintela@redhat.com> (raw)
From: Juan Quintela <quintela@redhat.com>
Hi
Instead of having *_LIBS variables, generate a proper LIBS variable in
configure and use it in Makefiles.
- Remove lots of other ifdef in Makefiles.
- s/HOST_SOLARIS/CONFIG_SOLARIS/ for coherence
- s/HAVE_FDT/CONFIG_FDT/
- Patches are very small/trivials to make easy bisect problems in other architectures/SSOOs
ToDo:
- Make the same treatment for CFLAGS, CPPFLAGS and LDFLAGS.
- Once done that, generate the config-host.h from config-host.mak
(as done in the target directories).
I have compiled it in linux x86_64 and crosscompiled to windows.
Testers wanted for:
- Mac OS X
- Solaris (specially sparc)
- BSD's
It should just work (famous last words)
Thanks in advance, Juan.
Juan Quintela (37):
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
generate CPPFLAGS and LIBS on ./configure
fold PTHREADLIBS and CLOCKLIBS on generic LIBS
CONFIG_SOLARIS always want -lsockt -lnsl -lresolv
Add -static in configure if needed
generate CONFIG_WIN32 libraries in configure
fold VDE_LIBS on generic LIBS
fold CURL_LIBS on generic LIBS
fold BRLAPI_LIBS on generic LIBS
fold CURSES_LIBS on generic LIBS
fold XEN_LIBS on generic LIBS
fold BLUEZ_LIBS on generic LIBS
fold VNC_TLS_LIBS on generic LIBS
fold VNC_SASL_LIBS on generic LIBS
Rename HAVE_FDT to CONFIG_FDT and define it also in Makefile
Refactor code to remove one #ifdef CONFIG_FDT
fold FDT_LIBS on generic LIBS
fold NEEDS_LIBSUNMATH on generic variables
fold FMOD_LIBS on generic LIBS
fold OSS_LIBS on generic LIBS
fold ALSA libs on generic LIBS
fold DSOUND libs on generic LIBS
fold Pulse Audio libs on generic LIBS
fold ESD libs on generic LIBS
fold COCOA_LIBS on generic LIBS
fold SDL_LIBS on generic LIBS
remove rt variable, we can assign directly LIBS
Makefile | 30 +------
Makefile.hw | 2 +-
Makefile.target | 80 +------------------
configure | 175 ++++++++++++++++++++++++----------------
cpu-exec.c | 10 +-
dyngen-exec.h | 2 +-
fpu/softfloat-native.c | 13 ++-
fpu/softfloat-native.h | 9 +-
fpu/softfloat.h | 2 +-
hw/petalogix_s3adsp1800_mmu.c | 8 +-
hw/ppc440_bamboo.c | 2 +-
hw/ppce500_mpc8544ds.c | 4 +-
kqemu.c | 2 +-
osdep.c | 6 +-
target-mips/cpu.h | 2 +-
target-ppc/kvm_ppc.c | 2 +-
tcg/sparc/tcg-target.h | 2 +-
17 files changed, 148 insertions(+), 203 deletions(-)
next reply other threads:[~2009-07-17 19:23 UTC|newest]
Thread overview: 59+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-17 19:20 quintela [this message]
2009-07-17 19:20 ` [Qemu-devel] [PATCH 01/37] change HOST_SOLARIS to CONFIG_SOLARIS{_VERSION} quintela
2009-07-17 19:20 ` [Qemu-devel] [PATCH 02/37] Remove SP_CFLAGS and SP_LDFLAGS quintela
2009-07-17 19:20 ` [Qemu-devel] [PATCH 03/37] target_arch2 is redefined unconditionally later quintela
2009-07-17 19:20 ` [Qemu-devel] [PATCH 04/37] remove CONFIG_ from VNC_TLS_{LIBS, FLAGS} quintela
2009-07-17 19:20 ` [Qemu-devel] [PATCH 05/37] use same algorithm for testing and quintela
2009-07-17 19:20 ` [Qemu-devel] [PATCH 06/37] remove CONFIG_ from VNC_SASL_{LIBS, FLAGS} quintela
2009-07-17 19:21 ` [Qemu-devel] [PATCH 07/37] remove CONFIG_ from BLUEZ_{LIBS,FLAGS} quintela
2009-07-17 19:21 ` [Qemu-devel] [PATCH 08/37] make fmod also use FMOD_{LIBS,CFLAGS} quintela
2009-07-17 19:21 ` [Qemu-devel] [PATCH 09/37] make oss use OSS_LIBS quintela
2009-07-17 19:21 ` [Qemu-devel] [PATCH 10/37] move printing of config-host.mak variables to end of generation quintela
2009-07-17 19:21 ` [Qemu-devel] [PATCH 11/37] more specific config.mak can overwrote more general config.mak quintela
2009-07-17 19:21 ` [Qemu-devel] [PATCH 12/37] generate CPPFLAGS and LIBS on ./configure quintela
2009-07-17 20:43 ` Blue Swirl
2009-07-17 19:21 ` [Qemu-devel] [PATCH 13/37] fold PTHREADLIBS and CLOCKLIBS on generic LIBS quintela
2009-07-17 19:21 ` [Qemu-devel] [PATCH 14/37] CONFIG_SOLARIS always want -lsockt -lnsl -lresolv quintela
2009-07-17 19:21 ` [Qemu-devel] [PATCH 15/37] Add -static in configure if needed quintela
2009-07-17 19:21 ` [Qemu-devel] [PATCH 16/37] generate CONFIG_WIN32 libraries in configure quintela
2009-07-17 19:21 ` [Qemu-devel] [PATCH 17/37] fold VDE_LIBS on generic LIBS quintela
2009-07-17 19:21 ` [Qemu-devel] [PATCH 18/37] fold CURL_LIBS " quintela
2009-07-17 19:21 ` [Qemu-devel] [PATCH 19/37] fold BRLAPI_LIBS " quintela
2009-07-17 19:21 ` [Qemu-devel] [PATCH 20/37] fold CURSES_LIBS " quintela
2009-07-17 19:21 ` [Qemu-devel] [PATCH 21/37] fold XEN_LIBS " quintela
2009-07-17 19:21 ` [Qemu-devel] [PATCH 22/37] fold BLUEZ_LIBS " quintela
2009-07-17 19:21 ` [Qemu-devel] [PATCH 23/37] fold VNC_TLS_LIBS " quintela
2009-07-17 19:21 ` [Qemu-devel] [PATCH 24/37] fold VNC_SASL_LIBS " quintela
2009-07-17 19:21 ` [Qemu-devel] [PATCH 25/37] Rename HAVE_FDT to CONFIG_FDT and define it also in Makefile quintela
2009-07-17 19:21 ` [Qemu-devel] [PATCH 26/37] Refactor code to remove one #ifdef CONFIG_FDT quintela
2009-07-17 19:21 ` [Qemu-devel] [PATCH 27/37] fold FDT_LIBS on generic LIBS quintela
2009-07-17 19:21 ` [Qemu-devel] [PATCH 28/37] fold NEEDS_LIBSUNMATH on generic variables quintela
2009-07-17 19:21 ` [Qemu-devel] [PATCH 29/37] fold FMOD_LIBS on generic LIBS quintela
2009-07-17 19:21 ` [Qemu-devel] [PATCH 30/37] fold OSS_LIBS " quintela
2009-07-17 19:21 ` [Qemu-devel] [PATCH 31/37] fold ALSA libs " quintela
2009-07-17 19:21 ` [Qemu-devel] [PATCH 32/37] fold DSOUND " quintela
2009-07-17 19:21 ` [Qemu-devel] [PATCH 33/37] fold Pulse Audio " quintela
2009-07-17 19:21 ` [Qemu-devel] [PATCH 34/37] fold ESD " quintela
2009-07-17 19:21 ` [Qemu-devel] [PATCH 35/37] fold COCOA_LIBS " quintela
2009-07-17 19:21 ` [Qemu-devel] [PATCH 36/37] fold SDL_LIBS " quintela
2009-07-17 19:21 ` [Qemu-devel] [PATCH 37/37] remove rt variable, we can assign directly LIBS quintela
2009-07-17 19:35 ` [Qemu-devel] [PATCH 00/37] Generate a proper LIBS variable Blue Swirl
2009-07-17 19:41 ` [Qemu-devel] " Juan Quintela
2009-07-22 12:57 ` [Qemu-devel] " Anthony Liguori
2009-07-22 16:38 ` [Qemu-devel] " Paolo Bonzini
2009-07-22 16:59 ` Juan Quintela
2009-07-22 18:09 ` Anthony Liguori
2009-07-22 18:19 ` Juan Quintela
2009-07-22 18:24 ` Anthony Liguori
2009-07-22 22:33 ` Paul Brook
2009-07-22 22:57 ` Anthony Liguori
2009-07-23 3:19 ` Juan Quintela
2009-07-23 3:28 ` malc
2009-07-23 6:10 ` Juan Quintela
2009-07-23 9:36 ` Paul Brook
2009-07-23 15:45 ` Juan Quintela
2009-07-23 16:54 ` Markus Armbruster
2009-07-23 17:04 ` Anthony Liguori
2009-07-22 16:35 ` Paolo Bonzini
2009-07-22 16:51 ` Juan Quintela
2009-07-22 18:08 ` Paolo Bonzini
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.1247858024.git.quintela@redhat.com \
--to=quintela@redhat.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).