diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-01-26 10:38:44 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-01-26 10:38:44 +0000 |
commit | be5fbf9a7fecc31c192ca0c547a1f6b864d7aa05 (patch) | |
tree | 9e7ea5294656ebe1b5e31904644a4cf5560c68f4 /tools/Rules.mk | |
parent | bc4a5b7bf50bf466cfc63f20a3907d904d5f0cdf (diff) | |
download | xen-be5fbf9a7fecc31c192ca0c547a1f6b864d7aa05.tar.gz xen-be5fbf9a7fecc31c192ca0c547a1f6b864d7aa05.tar.bz2 xen-be5fbf9a7fecc31c192ca0c547a1f6b864d7aa05.zip |
Move generation of public header hierarchy into the tools.
This patch merges the two versions of public header generation
currently used in the build into one.
Signed-off-by: Bastian Blank <waldi@debian.org>
Diffstat (limited to 'tools/Rules.mk')
-rw-r--r-- | tools/Rules.mk | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/tools/Rules.mk b/tools/Rules.mk index ec121f645e..007a844af9 100644 --- a/tools/Rules.mk +++ b/tools/Rules.mk @@ -5,6 +5,7 @@ all: include $(XEN_ROOT)/Config.mk +XEN_INCLUDE = $(XEN_ROOT)/tools/include XEN_XC = $(XEN_ROOT)/tools/python/xen/lowlevel/xc XEN_LIBXC = $(XEN_ROOT)/tools/libxc XEN_XENSTORE = $(XEN_ROOT)/tools/xenstore @@ -37,26 +38,3 @@ $(eval $(check-y)) %.o: %.cc $(CC) $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $< -.PHONY: mk-symlinks - -mk-symlinks: - mkdir -p xen/sys - ( cd xen/sys && \ - ln -sf ../../$(XEN_ROOT)/tools/include/$(XEN_OS)/*.h . ) - mkdir -p xen - ( cd xen && ln -sf ../$(XEN_ROOT)/xen/include/public/*.h . ) - mkdir -p xen/hvm - ( cd xen/hvm && ln -sf ../../$(XEN_ROOT)/xen/include/public/hvm/*.h . ) - mkdir -p xen/io - ( cd xen/io && ln -sf ../../$(XEN_ROOT)/xen/include/public/io/*.h . ) - mkdir -p xen/xsm - ( cd xen/xsm && ln -sf ../../$(XEN_ROOT)/xen/include/public/xsm/*.h . ) - mkdir -p xen/arch-x86 - ( cd xen/arch-x86 && ln -sf ../../$(XEN_ROOT)/xen/include/public/arch-x86/*.h . ) - mkdir -p xen/arch-ia64 - ( cd xen/arch-ia64 && ln -sf ../../$(XEN_ROOT)/xen/include/public/arch-ia64/*.h . ) - mkdir -p xen/foreign - ( cd xen/foreign && ln -sf ../../$(XEN_ROOT)/xen/include/public/foreign/Makefile . ) - ( cd xen/foreign && ln -sf ../../$(XEN_ROOT)/xen/include/public/foreign/reference.size . ) - ( cd xen/foreign && ln -sf ../../$(XEN_ROOT)/xen/include/public/foreign/*.py . ) - $(MAKE) -C xen/foreign |