Skip to content

More Build System cleanups

[email protected] qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13fix XEN BuildMakefile.target+1 -10 replies
2/13fix sparc not solaris buildMakefile.target+1 -10 replies
3/13Remove duplicated definitionMakefile.target+0 -20 replies
4/13use block-nested-y for files inside block/Makefile+11 -90 replies
5/13use nwfpe-obj-y for consistenceMakefile.target+4 -30 replies
6/13Remove unused Makefile variableMakefile.target+1 -10 replies
7/13already defined several lines before in block-obj-yMakefile+1 -10 replies
8/13configure already knows what TARGET_BASE_ARCH we need, no need to put the logic in Makefile.targetMakefile.target configure+10 -200 replies
9/13TARGET_ARCH2 is already known at configure time and it is called target_cpu Remove re-construction in Makefile.targetMakefile.target configure+11 -313 replies
10/13chang ifdefs by obj-Makefile.target+93 -880 replies
11/13configure xen in a single placeconfigure+7 -100 replies
12/13configure kvm in a single placeconfigure+13 -280 replies
13/13configure kqemu in a single placeconfigure+5 -100 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/13] More Build System cleanups

From: Juan Quintela <[email protected]>

Hi

More cleanups, 1st two are two compile fixes for my previous series (the XEN one already sent to the list.

Generate TARGET_BASE_ARCH and TARGET_CPU on configure, and then we don't complicate Makefile.target having to regerate it.

Switch all objects that depends of one traget to obj-$(TARGET_BASE_ARCH)-y variable, that way we would be able to share Makefiles at some point.

Once there, fix kvm, xen and kqemu to not being duplicated for each arch that support i.t

Comments?

Later, Juan "compiling for qemu ifdef removal prize"

Juan Quintela (13):
fix XEN Build
fix sparc not solaris build
Remove duplicated definition
use block-nested-y for files inside block/
use nwfpe-obj-y for consistence
Remove unused Makefile variable
already defined several lines before in block-obj-y configure already knows what TARGET_BASE_ARCH we need, no need to put

TARGET_ARCH2 is already known at configure time and it is called chang ifdefs by obj-$(CONFIG_TARGET_ARCH)
configure xen in a single place
configure kvm in a single place
configure kqemu in a single place

 Makefile        |   22 +++--
 Makefile.target |  251 +++++++++++++++++++++++--------------------------------
 configure       |   90 +++++++++-----------
 3 files changed, 158 insertions(+), 205 deletions(-)