Refactor Makefile object selection
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest14 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | Rename OBJS to obj-yMakefile.hw | +9 | 0 replies | |
| 2/14 | Rename LIBOBJS to libobj-yMakefile.target | +24 | 0 replies | |
| 3/14 | Rename OBJS to obj-yMakefile.target | +102 | 0 replies | |
| 4/14 | Rename BLOCK_OBJS to block-obj-yMakefile | +16 | 0 replies | |
| 5/14 | Rename AUDIO_OBJS to audio-obj-yMakefile | +12 | 0 replies | |
| 6/14 | Rename SLIRP_OBJS to slirp-obj-yMakefile | +4 | 2 replies | |
| 7/14 | Rename XEN_OBJS to xen-obj-yMakefile | +3 | 0 replies | |
| 8/14 | Rename USER_OBJS to user-obj-yMakefile | +3 | 0 replies | |
| 9/14 | Rename OBJS to obj-yMakefile | +33 | 0 replies | |
| 10/14 | move CONFIG_* values from yes to yconfigure | +37 | 0 replies | |
| 11/14 | Substitute ifdef CONFIG_FOO by obj-Makefile | +25 | 0 replies | |
| 12/14 | Substitute ifdef CONFIG_FOO by obj-Makefile.target | +8 | 0 replies | |
| 13/14 | Rename SOUND_HW to sound-obj-yMakefile.target | +7 | 0 replies | |
| 14/14 | Substitute ifdef CONFIG_FOO by sound-obj-Makefile.target | +8 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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.oIf 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(-)