xen: Build system improvements
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest16 patches 24 repliesIn review
- v418 patches 40 repliesSuperseded
- v32 patches 15 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 2 patches | 7 replies | Superseded |
Changes in v5 from the cover letter
- few changes detailed in patch notes.
- 1 new patch
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/16 | build,xsm: Fix multiple callxen/ | +2 | 0 replies | |
| 2/16 | xen/build: include include/config/auto.conf in main Makefilexen/ | +78 | 0 replies | |
| 3/16 | xen/build: use new $(c_flags) and $(a_flags) instead of $(CFLAGS)xen/ xen/ xen/ +4 more | +26 | 1 reply | |
| 4/16 | xen/build: have the root Makefile generates the CFLAGSxen/ xen/ xen/ +12 more | +114 | 7 replies | |
| 5/16 | build: Introduce documentation for xen Makefilesdocs/ xen/ | +91 | 0 replies | |
| 6/16 | xen/build: introduce if_changed and if_changed_rule.gitignore docs/ xen/ +2 more | +290 | 0 replies | |
| 7/16 | xen/build: Start using if_changedxen/ xen/ xen/ +4 more | +85 | 1 reply | |
| 8/16 | build: Introduce $(cpp_flags)xen/ | +2 | 5 replies | |
| 9/16 | xen/build: use if_changed on built_in.oxen/ | +15 | 3 replies | |
| 10/16 | xen/build: Use if_changed_rules with %.o:%.c targetsxen/ | +17 | 0 replies | |
| 11/16 | xen/build: factorise generation of the linker scriptsxen/ xen/ xen/ | +14 | 2 replies | |
| 12/16 | xen/build: Use if_changed for prelink*.oxen/ | +6 | 0 replies | |
| 13/16 | xen,symbols: rework file symbols selectionxen/ | +16 | 1 reply | |
| 14/16 | build: use if_changed to build mm/*/guest_%.oxen/ xen/ xen/ | +25 | 1 reply | |
| 15/16 | build,include: rework compat-build-source.pyxen/ xen/ | +8 | 1 reply | |
| 16/16 | build,include: rework compat-build-header.pyxen/ xen/ | +51 | 2 replies |
Reviews trailers per patch
14 of 16 patches have a Reviewed-by or Acked-by.
| Patch | Jan Beulich | Roger Pau Monné | Julien Grall | Wei Liu |
|---|---|---|---|---|
| 1/16 | R-b | |||
| 2/16 | R-b | |||
| 3/16 | R-b | R-b | A-b | |
| 4/16 | R-b | A-b | ||
| 5/16 | A-b | |||
| 6/16 | A-b | |||
| 7/16 | A-b | R-b | A-b | |
| 8/16 | ||||
| 9/16 | A-b | |||
| 10/16 | R-b | |||
| 11/16 | A-b | A-b | ||
| 12/16 | A-b | R-b | ||
| 13/16 | ||||
| 14/16 | R-b | |||
| 15/16 | A-b | |||
| 16/16 | A-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.
Cover letter [XEN PATCH v5 00/16] xen: Build system improvements
Patch series available in this git branch:
https://xenbits.xen.org/git-http/people/aperard/xen-unstable.git br.build-system-xen-v5
v5:
- few changes detailed in patch notes.
- 1 new patch
v4:
- some patch already applied.
- Have added patches from "xen/arm: Configure early printk via Kconfig" series.
- Some new patch to add documentation or fix issues, and patch to improve compat header generation.
Other changes are detailed in patches.
v3:
- new patches that do some cleanup or fix issues
- have rework most patches, to have better commit message or change the coding style, or fix issues that I've seen. There were some cases where CFLAGS were missing.
See patch notes for details
- introduce if_changed*. That plenty of new patches on top of what we had in v2. (those changes ignore CONFIG_LTO=y, I'll see about fixing that later)
(There is more to come in order to use fixdep from Linux, but that's not ready)
Hi,
I have work toward building Xen (the hypervisor) with Linux's build system, Kbuild.
The main reason for that is to be able to have out-of-tree build. It's annoying when a build fail because of the pvshim. Other benefit is a much faster rebuild, and make clean doesn't take ages, and better dependencies to figure out what needs to be rebuild.
So, we are not there yet, but the series already contain quite a few improvement and cleanup. More patches are going to be added to the series.
Cheers,
Anthony PERARD (16):
build,xsm: Fix multiple call
xen/build: include include/config/auto.conf in main Makefile xen/build: use new $(c_flags) and $(a_flags) instead of $(CFLAGS) xen/build: have the root Makefile generates the CFLAGS
build: Introduce documentation for xen Makefiles xen/build: introduce if_changed and if_changed_rule xen/build: Start using if_changed
build: Introduce $(cpp_flags)
xen/build: use if_changed on built_in.o
xen/build: Use if_changed_rules with %.o:%.c targets xen/build: factorise generation of the linker scripts xen/build: Use if_changed for prelink*.o
xen,symbols: rework file symbols selection
build: use if_changed to build mm/*/guest_%.o build,include: rework compat-build-source.py build,include: rework compat-build-header.py
.gitignore | 1 +
docs/misc/xen-makefiles/makefiles.rst | 185 ++++++++++++++++++++
xen/Makefile | 212 ++++++++++++++++++++---
xen/Rules.mk | 235 ++++++++++++++++----------
xen/arch/arm/Makefile | 22 +--
xen/arch/arm/Rules.mk | 23 ---
xen/arch/arm/{Rules.mk => arch.mk} | 5 -
xen/arch/arm/efi/Makefile | 2 +-
xen/arch/x86/Makefile | 41 ++---
xen/arch/x86/Rules.mk | 91 +---------
xen/arch/x86/{Rules.mk => arch.mk} | 17 +-
xen/arch/x86/efi/Makefile | 9 +-
xen/arch/x86/mm/Makefile | 14 +-
xen/arch/x86/mm/hap/Makefile | 15 +-
xen/arch/x86/mm/shadow/Makefile | 14 +-
xen/common/libelf/Makefile | 14 +-
xen/common/libfdt/Makefile | 13 +-
xen/include/Makefile | 16 +-
xen/scripts/Kbuild.include | 107 ++++++++++++
xen/tools/compat-build-header.py | 52 +++++-
xen/tools/compat-build-source.py | 8 +-
xen/tools/symbols.c | 20 ++-
xen/xsm/flask/Makefile | 19 ++-
xen/xsm/flask/ss/Makefile | 2 +-
24 files changed, 809 insertions(+), 328 deletions(-)
create mode 100644 docs/misc/xen-makefiles/makefiles.rst
copy xen/arch/arm/{Rules.mk => arch.mk} (85%)
copy xen/arch/x86/{Rules.mk => arch.mk} (87%)Signature · 1 line
Anthony PERARD