fix up stubdom compilation for libelf header move
PATCH 1/1 fix up stubdom compilation for libelf header move
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.
The attached one-line fix makes the build work again in my tests.
stubdom/Makefile +1 -0
@@ -194,6 +194,7 @@ mk-headers-$(XEN_TARGET_ARCH): ioemu/lin 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/ && \
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 11 lines
Quoted 1 line
Quoted 1 line
Ian Jackson <[email protected]> 09.01.09 17:23 >>>
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.
The attached one-line fix makes the build work again in my tests.
Signed-off-by Ian Jackson <[email protected]>
I'm sorry for the breakage - I thought I'd catch all places that need changing be grep-ing for the names of the header files I moved.
Jan
Jan Beulich writes ("Re: [PATCH] fix up stubdom compilation for libelf header move"):
Quoted 2 lines
I'm sorry for the breakage - I thought I'd catch all places that need changing be grep-ing for the names of the header files I moved.
Yes, that ought to work but sadly it doesn't. The stubdom build is rather fragile.
Ian.