From: Keir Fraser Date: Fri, 9 Jan 2009 16:56:54 +0000 (+0000) Subject: stubdom: Fix compilation after libelf header changes X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14014^2~80 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ceff4bb8a36948e4216022511b263831e7e7190f;p=xen.git stubdom: Fix compilation after libelf header changes Changeset 19011:7df072566b8c moved some of the libelf headers. However, no changes were made to stubdom/Makefile. stubdom/Makefile unfortunately contains embedded in it knowledge about the header directory structures, and must therefore typically be updated if new header directories are created. Signed-off-by: Ian Jackson --- diff --git a/stubdom/Makefile b/stubdom/Makefile index 571027007d..9263223059 100644 --- a/stubdom/Makefile +++ b/stubdom/Makefile @@ -194,6 +194,7 @@ mk-headers-$(XEN_TARGET_ARCH): ioemu/linkfarm.stamp ln -sf $(addprefix ../../,$(wildcard $(XEN_ROOT)/xen/include/public/*.h)) include/xen && \ ln -sf $(addprefix ../../$(XEN_ROOT)/xen/include/public/,arch-ia64 arch-x86 hvm io xsm) include/xen && \ ( [ -h include/xen/sys ] || ln -sf ../../$(XEN_ROOT)/tools/include/xen-sys/MiniOS include/xen/sys ) && \ + ( [ -h include/xen/libelf ] || ln -sf ../../$(XEN_ROOT)/tools/include/xen/libelf include/xen/libelf ) && \ mkdir -p include/xen-foreign && \ ln -sf $(addprefix ../../,$(wildcard $(XEN_ROOT)/tools/include/xen-foreign/*)) include/xen-foreign/ && \ $(MAKE) -C include/xen-foreign/ && \