From d29e66815ea4a942c62af082b35ca5bde52c25cc Mon Sep 17 00:00:00 2001 From: Konrad Rzeszutek Wilk Date: Sun, 30 Apr 2017 21:05:24 -0400 Subject: [PATCH] Makefile: Build kexec-tools with xen-devel headers. Otherwise they would not have been picked up. Signed-off-by: Konrad Rzeszutek Wilk --- root_image/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.5