From: Konrad Rzeszutek Wilk Date: Wed, 8 May 2013 14:15:57 +0000 (-0400) Subject: Add NO_XEN=1 so that we can build an image without Xen in it. X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=870ef7a2032cc959f710442268409339a3b475f4;p=xentesttools%2Fbootstrap.git Add NO_XEN=1 so that we can build an image without Xen in it. Signed-off-by: Konrad Rzeszutek Wilk --- diff --git a/Makefile b/Makefile index ba30dd3..1979e76 100644 --- a/Makefile +++ b/Makefile @@ -179,9 +179,13 @@ xen-tools: $(MAKE) -C xen IOEMU_CONFIGURE_CROSS="--disable-curses --disable-slirp --disable-opengl --disable-sdl --disable-kvm --disable-vnc-tls" tools -j$$(($(NCPUS) * 2)) +ifeq ($(NOXEN),1) +.PHONY: xen-dist +xen_dist: +else .PHONY: xen-dist xen-dist: xen-dist-nodep xen-tools - +endif .PHONY: xen-clean xen-clean: if [ -e xen ]; then \ @@ -205,7 +209,7 @@ DOM0_DEP_LIST = linux-modules .PHONY: root_image-dist-nodep root_image-dist-nodep: $(LINUX_SRC)/usr/gen_init_cpio - $(MAKE) -C root_image + $(MAKE) -C root_image $(INSTALL_DIR) dist/common/ $(INSTALL_DATA) root_image/dist/common/initramfs.cpio.gz dist/common/