From 2f044a6a6e4cb0ea24c856c1615e3fb878af2cfb Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Thu, 18 Jul 2013 09:41:43 +0100 Subject: xen: allow architecture to choose how/whether to compress installed xen binary This is a follow up to "xen: arm: make zImage the default target which we install". On ARM the xen.gz binary installed into /boot is not immediately useful because bootloaders (e.g. u-boot) do not unconditionally support decompression (except via the uImage wrapper, which we currently do not support via our build system) Signed-off-by: Ian Campbell Acked-by: Keir Fraser Acked-by: Julien Grall Acked-by: Jan Beulich --- xen/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xen/Makefile') diff --git a/xen/Makefile b/xen/Makefile index 8994cd6e4e..2abfa589a0 100644 --- a/xen/Makefile +++ b/xen/Makefile @@ -29,14 +29,14 @@ else endif .PHONY: _build -_build: $(TARGET).gz +_build: $(TARGET)$(CONFIG_XEN_INSTALL_SUFFIX) .PHONY: _install _install: D=$(DESTDIR) _install: T=$(notdir $(TARGET)) -_install: $(TARGET).gz +_install: $(TARGET)$(CONFIG_XEN_INSTALL_SUFFIX) [ -d $(D)/boot ] || $(INSTALL_DIR) $(D)/boot - $(INSTALL_DATA) $(TARGET).gz $(D)/boot/$(T)-$(XEN_FULLVERSION) + $(INSTALL_DATA) $(TARGET)$(CONFIG_XEN_INSTALL_SUFFIX) $(D)/boot/$(T)-$(XEN_FULLVERSION) ln -f -s $(T)-$(XEN_FULLVERSION) $(D)/boot/$(T)-$(XEN_VERSION).$(XEN_SUBVERSION) ln -f -s $(T)-$(XEN_FULLVERSION) $(D)/boot/$(T)-$(XEN_VERSION) ln -f -s $(T)-$(XEN_FULLVERSION) $(D)/boot/$(T) -- cgit v1.2.3