From: Konrad Rzeszutek Wilk Date: Mon, 1 May 2017 01:05:24 +0000 (-0400) Subject: Makefile: Build kexec-tools with xen-devel headers. X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=d29e66815ea4a942c62af082b35ca5bde52c25cc;p=xentesttools%2Fbootstrap.git Makefile: Build kexec-tools with xen-devel headers. Otherwise they would not have been picked up. Signed-off-by: Konrad Rzeszutek Wilk --- diff --git a/root_image/Makefile b/root_image/Makefile index e41505f..d67f0ab 100644 --- a/root_image/Makefile +++ b/root_image/Makefile @@ -760,7 +760,8 @@ ifeq ($(RPM_ARCH), x86_64) endif .PHONY: kexec-tools-install kexec-tools-install: userspace-prep - if ! [ -e kexec-tools/include/config.h ]; then (cd kexec-tools; ./bootstrap;./configure --prefix=/usr); fi + if ! [ -e kexec-tools/configure ]; then (cd kexec-tools; ./bootstrap;); fi + if ! [ -e kexec-tools/include/config.h ]; then (cd kexec-tools; CFLAGS="-v -I$(XEN_SRC)/dist/install/usr/include" LDFLAGS="-L$(shell pwd)/userspace/usr/lib -Wl,-rpath-link,$(shell pwd)/userspace/usr/lib" ./configure --prefix=/usr); fi $(MAKE) $(MFLAGS) -j$$(($(NCPUS) * 2)) -C kexec-tools $(MAKE) $(MFLAGS) -j$$(($(NCPUS) * 2)) -C kexec-tools prefix=$(CURDIR)/userspace install