qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH for 1.4 0/4] Simplify Makefile.objs some more
@ 2013-01-19 10:06 Paolo Bonzini
  2013-01-19 10:06 ` [Qemu-devel] [PATCH 1/4] build: move around libcacard-y definition Paolo Bonzini
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Paolo Bonzini @ 2013-01-19 10:06 UTC (permalink / raw)
  To: qemu-devel; +Cc: blauwirbel, afaerber

This small series makes some more simplifications to Makefile.objs,
removing two more variables: universal-obj-y and extra-obj-y, all
unified into common-obj-y.  It also removes what remains of user-obj-y,
unifying that into common-obj-y as well.

To achieve this, the CONFIG_SOFTMMU and CONFIG_USER_ONLY symbols are
defined in the toplevel Makefile like we do with devices and disassemblers.
Another symbol, CONFIG_ALL, is defined only in the toplevel Makefile
and takes the place of extra-obj-y.

With this change the structure of Makefile.objs is finally reduced to only
six recursive variables (stub-obj-y, util-obj-y, qga-obj-y, block-obj-y,
common-obj-y, obj-y).  More important, the simpler structure should help
people modifying the build system, avoiding future proliferation of
variables as well.

The patches are mostly mechanical substitutions, and there is no
user-visible change---neither in total build time, nor in the files that
are linked into the executables.

Please apply, thanks!

Paolo


Paolo Bonzini (4):
  build: move around libcacard-y definition
  build: use -$(CONFIG_SECCOMP) instead of ifeq
  build: remove universal-obj-y
  build: remove extra-obj-y

 Makefile             |    9 ++++-----
 Makefile.objs        |   43 ++++++++++++++++++-------------------------
 Makefile.target      |    3 +--
 disas/Makefile.objs  |   30 +++++++++++++++---------------
 fsdev/Makefile.objs  |    8 ++++----
 hw/Makefile.objs     |   10 +++++-----
 hw/pci/Makefile.objs |    2 +-
 qom/Makefile.objs    |    4 ++--
 8 files changed, 50 insertions(+), 59 deletions(-)

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2013-01-20  9:06 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-19 10:06 [Qemu-devel] [PATCH for 1.4 0/4] Simplify Makefile.objs some more Paolo Bonzini
2013-01-19 10:06 ` [Qemu-devel] [PATCH 1/4] build: move around libcacard-y definition Paolo Bonzini
2013-01-19 18:05   ` Andreas Färber
2013-01-19 22:01     ` Paolo Bonzini
2013-01-19 23:26       ` Andreas Färber
2013-01-19 10:06 ` [Qemu-devel] [PATCH 2/4] build: use -$(CONFIG_SECCOMP) instead of ifeq Paolo Bonzini
2013-01-19 18:06   ` Andreas Färber
2013-01-19 10:06 ` [Qemu-devel] [PATCH 3/4] build: remove universal-obj-y Paolo Bonzini
2013-01-19 10:06 ` [Qemu-devel] [PATCH 4/4] build: remove extra-obj-y Paolo Bonzini
2013-01-19 18:11 ` [Qemu-devel] [PATCH for 1.4 0/4] Simplify Makefile.objs some more Andreas Färber
2013-01-19 22:06   ` Paolo Bonzini
2013-01-19 22:07     ` Paolo Bonzini
2013-01-19 23:22     ` Andreas Färber
2013-01-20  9:06       ` Paolo Bonzini

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).