]> xenbits.xensource.com Git - xentesttools/bootstrap.git/commitdiff
Makefile: Build kexec-tools with xen-devel headers.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 1 May 2017 01:05:24 +0000 (21:05 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 1 May 2017 01:07:25 +0000 (21:07 -0400)
Otherwise they would not have been picked up.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
root_image/Makefile

index e41505f5501375bf63b75ced9a7abd34a19a3d47..d67f0abf96ce1649c63be70244d423e46232ee96 100644 (file)
@@ -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