]> xenbits.xensource.com Git - people/liuw/stubdom.git/commitdiff
stubdom: Fix compilation after libelf header changes
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 9 Jan 2009 16:56:54 +0000 (16:56 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 9 Jan 2009 16:56:54 +0000 (16:56 +0000)
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 <ian.jackson@eu.citrix.com>
Makefile

index 571027007d4c9fa82017696e6aeb06d46357d42a..9263223059630bcfe5959bc44ea344d0d88f08e5 100644 (file)
--- a/Makefile
+++ b/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/ && \