[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [XEN PATCH v10 0/7] xen: Build system improvements, now with out-of-tree build!
Patch series available in this git branch: https://xenbits.xen.org/git-http/people/aperard/xen-unstable.git br.build-system-xen-v10 v10: Mainly a rebase (changes needed in patches 1 and 3). One comment change in patch 1. v9: One new patch (patch 3). Otherwise, detailed change logs in patches. Removed the rfc part about doing out-of-tree build without setting VPATH (which would have allowed mixed in-tree / out-of-tree builds). v8: Mostly rework of v7. With many patch already applied. Some detail changes that are spread through many patches: - `make cloc` recipe should now work throughout the series, update of it is done in 3 patches. - new patch "build: fix enforce unique symbols for recent clang version" to fix an issue with clang. - introducing $(srctree) and $(objtree) earlier - introducing $(srcdir) as shortcut for $(srctree)/$(src) - introduce usage of -iquote instead of -I in some cases More detail change log can be found in patches notes. Also this v8 present a work-in-progress of the ability to do out-of-tree build without setting VPATH. This is presented as an alternative to force use of out-of-tree build. As the last patch show, it allows to build the xen-shim without the linkfarm and we don't need to make any other changes to any thing that build xen (osstest, distribution packages, xen.git, ..., and developers finger macros). The patches are only there as WIP / RFC as they were some concern about the usefulness and extra changes needed. We can decide whether those changes are good or if this is too much and we should force out-of-tree build for the hypervisor. v7: Out-of-tree build! This mean many more patches. Everything after patch 27 is new. There's a few new patch before that, but otherwise are rework of v6. 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. Cheers, Anthony PERARD (7): build: grab common EFI source files in arch specific dir build: replace $(BASEDIR) by $(objtree) build: replace $(BASEDIR) and use $(srctree) build: rework "headers*.chk" prerequisite in include/ build: specify source tree in include/ for prerequisite build: shuffle main Makefile build: adding out-of-tree support to the xen build .gitignore | 1 + xen/Kconfig | 4 +- xen/Makefile | 187 +++++++++++++++++++++++++++-------- xen/Rules.mk | 22 ++++- xen/arch/arm/Makefile | 10 +- xen/arch/arm/efi/Makefile | 4 +- xen/arch/x86/Makefile | 32 +++--- xen/arch/x86/arch.mk | 7 +- xen/arch/x86/boot/Makefile | 6 ++ xen/arch/x86/efi/Makefile | 5 +- xen/build.mk | 4 +- xen/common/Makefile | 4 +- xen/common/efi/efi-common.mk | 16 +++ xen/common/libfdt/Makefile | 2 +- xen/include/Makefile | 60 ++++++----- xen/scripts/Kconfig.include | 2 +- xen/scripts/Makefile.clean | 5 +- xen/test/livepatch/Makefile | 14 +-- xen/xsm/flask/Makefile | 13 +-- xen/xsm/flask/ss/Makefile | 1 + 20 files changed, 283 insertions(+), 116 deletions(-) create mode 100644 xen/common/efi/efi-common.mk -- Anthony PERARD
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |