qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH for 1.4 0/4] Simplify Makefile.objs some more


From: Andreas Färber
Subject: Re: [Qemu-devel] [PATCH for 1.4 0/4] Simplify Makefile.objs some more
Date: Sat, 19 Jan 2013 19:11:47 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130105 Thunderbird/17.0.2

Am 19.01.2013 11:06, schrieb Paolo Bonzini:
> 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.

Without having tested this yet I want to remind that it is necessary for
qom/cpu.c to be built twice, to not run into similar issues like
util/oslib-posix.c.

Andreas

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


-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg



reply via email to

[Prev in Thread] Current Thread [Next in Thread]