Skip to content

build: cleanup build log, avoid user's CFLAGS, avoid too many include of Config.mk

Anthony PERARD xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 43 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15build: hide that we are updating xen/lib/x86xen/include/Makefile+1 -12 replies
2/15build: rework asm-offsets.* build step to use kbuildxen/build.mk+14 -85 replies
3/15build, x86: clean build log for boot/ targetsxen/arch/x86/boot/Makefile+12 -43 replies
4/15build: hide policy.bin commandsxen/xsm/flask/Makefile+7 -24 replies
5/15build: introduce a generic command for gzipxen/Rules.mk xen/common/Makefile+9 -42 replies
6/15build: quiet for .allconfig.tmp targetxen/Makefile+1 -11 reply
7/15build: move XEN_HAS_BUILD_ID out of Config.mkConfig.mk xen/Makefile xen/arch/arm/Makefile +4 more+25 -223 replies
8/15build: use $(filechk, ) for all compat/.xlat/%.lstxen/include/Makefile+3 -53 replies
9/15build: hide commands run for kconfigxen/Makefile xen/tools/kconfig/Makefile+8 -72 replies
10/15build: rename $(AFLAGS) to $(XEN_AFLAGS)xen/Makefile xen/arch/x86/arch.mk+7 -53 replies
11/15build: rename CFLAGS to XEN_CFLAGS in xen/Makefilexen/Makefile xen/arch/arm/arch.mk xen/arch/riscv/arch.mk +1 more+54 -532 replies
12/15build: avoid Config.mk's CFLAGSxen/Makefile xen/arch/arm/arch.mk xen/arch/x86/arch.mk+16 -12 replies
13/15build: fix compile.h compiler version command linexen/build.mk+1 -16 replies
14/15Config.mk: move $(cc-option, ) to config/compiler-testing.mkConfig.mk config/compiler-testing.mk xen/Rules.mk+27 -262 replies
15/15build: remove Config.mk include from Rules.mkxen/Makefile xen/Rules.mk xen/scripts/Kbuild.include+11 -12 replies

Reviews trailers per patch

13 of 15 patches have a Reviewed-by or Acked-by.

PatchLuca FancelluJan BeulichAndrew CooperDaniel P. Smith
1/15R-b A-b
2/15R-b T-b
3/15R-b T-b
4/15A-b
5/15
6/15
7/15R-b T-b R-b
8/15R-b T-b A-b
9/15R-b T-b
10/15R-b T-b A-b
11/15R-b T-b A-b
12/15R-b T-b
13/15R-b T-b A-b
14/15R-b T-b
15/15R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [XEN PATCH 00/15] build: cleanup build log, avoid user's CFLAGS, avoid too many include of Config.mk

Patch series available in this git branch:
https://xenbits.xen.org/git-http/people/aperard/xen-unstable.git br.build-system-xen-removing-config.mk-v1

Hi,

This series of patch cleanup the remaining rules still displaying their command line.

Then, some change are made in Config.mk to remove build-id stuff only used by Xen build.

Then, the variable AFLAGS and CFLAGS are been renamed XEN_AFLAGS and XEN_CFLAGS from the beginning to about inclusion of users CFLAGS as those are usually made for user space program, not kernel, especially in build environment for distro packages.

Last patch removes the inclusion of Config.mk from xen/Rules.mk, as this slow down the build unnecessarily. xen/Makefile should do everything necessary to setup the build of the hypervisor, and is its only entry point.

Thanks,

Anthony PERARD (15):
build: hide that we are updating xen/lib/x86
build: rework asm-offsets.* build step to use kbuild build, x86: clean build log for boot/ targets
build: hide policy.bin commands
build: introduce a generic command for gzip
build: quiet for .allconfig.tmp target
build: move XEN_HAS_BUILD_ID out of Config.mk
build: use $(filechk, ) for all compat/.xlat/%.lst
build: hide commands run for kconfig
build: rename $(AFLAGS) to $(XEN_AFLAGS)
build: rename CFLAGS to XEN_CFLAGS in xen/Makefile
build: avoid Config.mk's CFLAGS
build: fix compile.h compiler version command line Config.mk: move $(cc-option, ) to config/compiler-testing.mk
build: remove Config.mk include from Rules.mk

 Config.mk                   | 39 +------------------
 config/compiler-testing.mk  | 25 +++++++++++++
 xen/Makefile                | 75 +++++++++++++++++++++++++------------
 xen/Rules.mk                |  7 +++-
 xen/arch/arm/Makefile       |  2 +-
 xen/arch/arm/arch.mk        |  8 +++-
 xen/arch/riscv/Makefile     |  2 +-
 xen/arch/riscv/arch.mk      |  4 +-
 xen/arch/x86/Makefile       | 12 +++---
 xen/arch/x86/arch.mk        | 62 +++++++++++++++---------------
 xen/arch/x86/boot/Makefile  | 16 ++++++--
 xen/build.mk                | 24 +++++++-----
 xen/common/Makefile         |  8 ++--
 xen/include/Makefile        | 10 ++---
 xen/scripts/Kbuild.include  | 10 +++++
 xen/test/livepatch/Makefile |  4 +-
 xen/tools/kconfig/Makefile  | 14 +++----
 xen/xsm/flask/Makefile      |  9 ++++-
 18 files changed, 193 insertions(+), 138 deletions(-)
 create mode 100644 config/compiler-testing.mk
Signature · 1 line
Anthony PERARD