Skip to content

Refactor Makefile object selection

[email protected] qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14Rename OBJS to obj-yMakefile.hw+9 -90 replies
2/14Rename LIBOBJS to libobj-yMakefile.target+24 -250 replies
3/14Rename OBJS to obj-yMakefile.target+102 -1020 replies
4/14Rename BLOCK_OBJS to block-obj-yMakefile+16 -160 replies
5/14Rename AUDIO_OBJS to audio-obj-yMakefile+12 -120 replies
6/14Rename SLIRP_OBJS to slirp-obj-yMakefile+4 -42 replies
7/14Rename XEN_OBJS to xen-obj-yMakefile+3 -30 replies
8/14Rename USER_OBJS to user-obj-yMakefile+3 -30 replies
9/14Rename OBJS to obj-yMakefile+33 -330 replies
10/14move CONFIG_* values from yes to yconfigure+37 -370 replies
11/14Substitute ifdef CONFIG_FOO by obj-Makefile+25 -510 replies
12/14Substitute ifdef CONFIG_FOO by obj-Makefile.target+8 -180 replies
13/14Rename SOUND_HW to sound-obj-yMakefile.target+7 -70 replies
14/14Substitute ifdef CONFIG_FOO by sound-obj-Makefile.target+8 -80 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 00/14] Refactor Makefile object selection

From: Juan Quintela <[email protected]>

Hi

Following Anthony suggestion, I changed Makefile* and confiure to:

a- s/OBJS/obj-y/
b- changed configure to generate CONFIG_FOO=y instead of CONFIG_FOO=yes c- Switch all occurences of

     ifdef CONFIG_FOO
     obj-y += foo.o
     endif
   to
     obj-$(CONFIG_FOO) += foo.o

If people agree on this approach, I will rebase my previous series on top of this one.

If you preffer to pull, you can get it:

git://git.et.redhat.com/qemu-quintela new_selection

Later, Juan.

Juan Quintela (14):
Rename OBJS to obj-y
Rename LIBOBJS to libobj-y
Rename OBJS to obj-y
Rename BLOCK_OBJS to block-obj-y
Rename AUDIO_OBJS to audio-obj-y
Rename SLIRP_OBJS to slirp-obj-y
Rename XEN_OBJS to xen-obj-y
Rename USER_OBJS to user-obj-y
Rename OBJS to obj-y
move CONFIG_* values from yes to y
Substitute ifdef CONFIG_FOO by obj-
Substitute ifdef CONFIG_FOO by obj-
Rename SOUND_HW to sound-obj-y
Substitute ifdef CONFIG_FOO by sound-obj-

 Makefile        |  164 ++++++++++++++-------------------
 Makefile.hw     |   18 ++--
 Makefile.target |  281 ++++++++++++++++++++++++++----------------------------
 configure       |   74 +++++++-------
 4 files changed, 250 insertions(+), 287 deletions(-)