From: Konrad Rzeszutek Wilk Date: Tue, 7 Feb 2017 16:31:26 +0000 (-0500) Subject: Makefile: Include the xenpolicy file if it is built. X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=e21d0cd91b3ca95b357b5532a20fec6bda0a3d9d;p=xentesttools%2Fbootstrap.git Makefile: Include the xenpolicy file if it is built. Signed-off-by: Konrad Rzeszutek Wilk --- diff --git a/Makefile b/Makefile index 08cefdc..56ef876 100644 --- a/Makefile +++ b/Makefile @@ -203,6 +203,9 @@ xen-tools: xen-hypervisor ; else \ $(MAKE) -C xen $(XEN_OPTS) CONFIG_QEMUU_EXTRA_ARGS="--disable-sdl --disable-gtk --disable-spice" CONFIG_BLKTAP1=n IOEMU_CONFIGURE_CROSS="--disable-curses --disable-slirp --disable-sdl --disable-kvm " tools -j$$(($(NCPUS) * 2)) \ ; fi + if [ -e $(XEN_DISTDIR)/boot/xenpol* ]; then \ + $(INSTALL_DATA) $(XEN_DISTDIR)/boot/xenpoli* dist/common/xenpolicy; \ + fi ifeq ($(NOXEN),1) .PHONY: xen-dist