diff options
author | Ian Campbell <ian.campbell@xensource.com> | 2007-01-31 10:25:12 +0000 |
---|---|---|
committer | Ian Campbell <ian.campbell@xensource.com> | 2007-01-31 10:25:12 +0000 |
commit | 8e84e3f524cf888de8412b939b8117418167f0a4 (patch) | |
tree | cf9dbffbe9b74f63d5f4af7ff3389c25e72c7dbd /tools/blktap/Makefile | |
parent | ff0b3cef8ddd22fa2cce178c2bc894a966f8a0bb (diff) | |
download | xen-8e84e3f524cf888de8412b939b8117418167f0a4.tar.gz xen-8e84e3f524cf888de8412b939b8117418167f0a4.tar.bz2 xen-8e84e3f524cf888de8412b939b8117418167f0a4.zip |
[TOOLS] Fix foreign header build breakage.
Having both the Xen tree and the tools tree recurse into the foreign
headers directory causes headaches in parallel builds and when
building 32-bit tools + 64 bit Xen in the same tree.
Therefore we cause mk-symlinks to symlink in the foreign headers build
bits and generate a local version of the headers and checker tool.
Only libxc needs to do this since the other tools were actually
picking up the libxc version of the headers anyway so the mk-symlinks
calls can be removed from these components.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
Diffstat (limited to 'tools/blktap/Makefile')
-rw-r--r-- | tools/blktap/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/blktap/Makefile b/tools/blktap/Makefile index fb194f3203..671c4f4b87 100644 --- a/tools/blktap/Makefile +++ b/tools/blktap/Makefile @@ -9,7 +9,7 @@ SUBDIRS-y += drivers all: build .PHONY: build -build: mk-symlinks +build: @set -e; for subdir in $(SUBDIRS-y); do \ $(MAKE) -C $$subdir all; \ done @@ -22,7 +22,7 @@ install: .PHONY: clean clean: - rm -rf *.a *.so *.o *.rpm $(LIB) *~ $(DEPS) xen TAGS + rm -rf *.a *.so *.o *.rpm $(LIB) *~ $(DEPS) TAGS @set -e; for subdir in $(SUBDIRS-y); do \ $(MAKE) -C $$subdir clean; \ done |