Build system fixes for Xen 4.2.3
cover Build system fixes for Xen 4.2.3
Hi,
As Ian Jackson asked I am sending build system fixes based on patches applied a few weeks ago to Xen unstable. Earlier patches which did not required any changes were applied to Xen 4.2.3. This patch series contains only applicable patches which must be modified to be applied.
List of patches:
- stubdom: Clean extras/mini-os directory during make clean,
- stubdom: Remove xenstore directory during make crossclean,
- Silently ignore include errors during make distclean.
Daniel
PATCH 1/3 stubdom: Clean extras/mini-os directory during make clean
(based on commit 2bf87074e17e77ca761e3490e5f054175e082e5b)
--- stubdom/Makefile | 1 + 1 file changed, 1 insertion(+)
stubdom/Makefile +1 -0
@@ -405,6 +405,7 @@ clean: rm -fr mini-os-$(XEN_TARGET_ARCH)-caml rm -fr mini-os-$(XEN_TARGET_ARCH)-grub rm -fr mini-os-$(XEN_TARGET_ARCH)-xenstore + $(MAKE) DESTDIR= -C $(MINI_OS) clean $(MAKE) DESTDIR= -C caml clean $(MAKE) DESTDIR= -C c clean rm -fr grub-$(XEN_TARGET_ARCH)
Signature · 1 line
1.7.10.4
PATCH 2/3 stubdom: Remove xenstore directory during make crossclean
In reply to Daniel Kiper(based on commit 43be6972f977660ba9aaf15f78e39c025c9550d8)
--- stubdom/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
stubdom/Makefile +1 -1
@@ -420,7 +420,7 @@ crossclean: clean rm -fr $(CROSS_ROOT) rm -fr newlib-$(XEN_TARGET_ARCH) rm -fr zlib-$(XEN_TARGET_ARCH) pciutils-$(XEN_TARGET_ARCH) - rm -fr libxc-$(XEN_TARGET_ARCH) ioemu + rm -fr libxc-$(XEN_TARGET_ARCH) ioemu xenstore rm -f mk-headers-$(XEN_TARGET_ARCH) rm -fr ocaml-$(XEN_TARGET_ARCH) rm -fr include
Signature · 1 line
1.7.10.4
PATCH 3/3 Silently ignore include errors during make distclean
In reply to Daniel Kiper(based on commit 38aabce5424710badc080decca23628442d80673)
--- buildconfigs/mk.linux-2.6-common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
buildconfigs/mk.linux-2.6-common +1 -1
@@ -29,7 +29,7 @@ LINUX_VER3 := $(LINUX_SERIES).$(word 3, $(subst ., ,$(LINUX_VER))) .PHONY: _build _build: build -include buildconfigs/src.$(XEN_LINUX_SOURCE) +-include buildconfigs/src.$(XEN_LINUX_SOURCE) LINUX_ARCH = $$(sh buildconfigs/select-linux-arch $(LINUX_SRCDIR)) IMAGE_PATH = $$(sh buildconfigs/select-linux-image $(LINUX_DIR) $(LINUX_ARCH) $(IMAGE_TARGET))
Signature · 1 line
1.7.10.4
Daniel Kiper writes ("[PATCH 0/3] Build system fixes for Xen 4.2.3"):
Quoted 10 lines
As Ian Jackson asked I am sending build system fixes based on patches applied a few weeks ago to Xen unstable. Earlier patches which did not required any changes were applied to Xen 4.2.3. This patch series contains only applicable patches which must be modified to be applied.
List of patches:
- stubdom: Clean extras/mini-os directory during make clean,
- stubdom: Remove xenstore directory during make crossclean,
- Silently ignore include errors during make distclean.
I'm afraid I think it's probably best not to apply modified build system backport patches, unless they're really important. These involve more risk of downstream build breakages, and the benefit is very small because most people already using the stable release will have already developed workarounds for any build system bugs they have encountered.
Thanks,
Ian.
Quoted 12 lines · Ian Jackson
Daniel Kiper writes ("[PATCH 0/3] Build system fixes for Xen 4.2.3"):
Quoted 10 lines
As Ian Jackson asked I am sending build system fixes based on patches applied a few weeks ago to Xen unstable. Earlier patches which did not required any changes were applied to Xen 4.2.3. This patch series contains only applicable patches which must be modified to be applied.
List of patches:
- stubdom: Clean extras/mini-os directory during make clean,
- stubdom: Remove xenstore directory during make crossclean,
- Silently ignore include errors during make distclean.
Quoted 5 lines
I'm afraid I think it's probably best not to apply modified build system backport patches, unless they're really important. These involve more risk of downstream build breakages, and the benefit is very small because most people already using the stable release will have already developed workarounds for any build system bugs they have encountered.
I do not insist on applying them but I think that if we applied previous patches why do not apply those. We should act consistently.
Daniel
Quoted 20 lines
Quoted 1 line
Quoted 1 line · Daniel Kiper
Quoted 12 lines · Ian Jackson
Daniel Kiper writes ("[PATCH 0/3] Build system fixes for Xen 4.2.3"):
Quoted 10 lines
As Ian Jackson asked I am sending build system fixes based on patches applied a few weeks ago to Xen unstable. Earlier patches which did not required any changes were applied to Xen 4.2.3. This patch series contains only applicable patches which must be modified to be applied.
List of patches:
- stubdom: Clean extras/mini-os directory during make clean,
- stubdom: Remove xenstore directory during make crossclean,
- Silently ignore include errors during make distclean.Quoted 5 lines
I'm afraid I think it's probably best not to apply modified build system backport patches, unless they're really important. These involve more risk of downstream build breakages, and the benefit is very small because most people already using the stable release will have already developed workarounds for any build system bugs they have encountered.
Quoted 3 lines
I do not insist on applying them but I think that if we applied previous patches why do not apply those. We should act consistently.
Being risk free is valued higher than consistency on stable trees.
Jan