mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
Move xenstore and libxc public headers to include subdir
Also moves xc_dom.h to include as it is used often by other xen tools. Use the new include subdirectories to build Xen tools, qemu-xen and stubdoms. Add the old libxc include path to the programs that need it to build, on a case by case basis and commeting that they shouldn't require internal libxc headers to build. [ And: update QEMU_TRADITIONAL_REVISION to corresponding qemu patch - Ian jackson ] Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
This commit is contained in:
1 parent
5c0581e886
commit
31d2d1e08a
25 files changed
+35
-26
No files matched your search
@@ -307,12 +307,14 @@ mk-headers-$(XEN_TARGET_ARCH): $(IOEMU_LINKFARM_TARGET)
|
||||
mkdir -p libxc-$(XEN_TARGET_ARCH)
|
||||
[ -h libxc-$(XEN_TARGET_ARCH)/Makefile ] || ( cd libxc-$(XEN_TARGET_ARCH) && \
|
||||
ln -sf $(XEN_ROOT)/tools/libxc/*.h . && \
|
||||
ln -sf $(XEN_ROOT)/tools/libxc/include/*.h . && \
|
||||
ln -sf $(XEN_ROOT)/tools/libxc/*.c . && \
|
||||
ln -sf $(XEN_ROOT)/tools/libxc/Makefile . )
|
||||
mkdir -p xenstore
|
||||
[ -h xenstore/Makefile ] || ( cd xenstore && \
|
||||
ln -sf $(XEN_ROOT)/tools/xenstore/*.c . && \
|
||||
ln -sf $(XEN_ROOT)/tools/xenstore/*.h . && \
|
||||
ln -sf $(XEN_ROOT)/tools/xenstore/include/*.h . && \
|
||||
ln -sf $(XEN_ROOT)/tools/xenstore/Makefile . )
|
||||
$(MAKE) DESTDIR= -C $(MINI_OS) links
|
||||
touch mk-headers-$(XEN_TARGET_ARCH)
|
||||
|
||||
@@ -5,7 +5,7 @@ vpath %.c ../grub-upstream
|
||||
|
||||
BOOT=$(OBJ_DIR)/boot-$(XEN_TARGET_ARCH).o
|
||||
|
||||
DEF_CPPFLAGS += -I$(XEN_ROOT)/tools/libxc -I$(XEN_ROOT)/tools/include -I.
|
||||
DEF_CPPFLAGS += -I$(XEN_ROOT)/tools/libxc/include -I$(XEN_ROOT)/tools/include -I.
|
||||
DEF_CPPFLAGS += -I../grub-upstream/stage1
|
||||
DEF_CPPFLAGS += -I../grub-upstream/stage2
|
||||
DEF_CPPFLAGS += -I../grub-upstream/netboot
|
||||
|
||||