aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/Makefile
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-08-21 17:00:01 +0100
committerKeir Fraser <keir.fraser@citrix.com>2009-08-21 17:00:01 +0100
commita8f634b0a32223ab864169b5dbf81f6c71a49e07 (patch)
tree4e8a83132784de0b499a497903446c3a75108e70 /tools/libxc/Makefile
parentee316d2f8c8e137738974362a40518b99481008c (diff)
downloadxen-a8f634b0a32223ab864169b5dbf81f6c71a49e07.tar.gz
xen-a8f634b0a32223ab864169b5dbf81f6c71a49e07.tar.bz2
xen-a8f634b0a32223ab864169b5dbf81f6c71a49e07.zip
Revert 20105:979fd420311b
Diffstat (limited to 'tools/libxc/Makefile')
-rw-r--r--tools/libxc/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/libxc/Makefile b/tools/libxc/Makefile
index faf94c9807..5693025e60 100644
--- a/tools/libxc/Makefile
+++ b/tools/libxc/Makefile
@@ -151,9 +151,13 @@ libxenguest.so: libxenguest.so.$(MAJOR)
libxenguest.so.$(MAJOR): libxenguest.so.$(MAJOR).$(MINOR)
ln -sf $< $@
+ifeq ($(CONFIG_MiniOS),y)
+.zlib.deps:
+ echo >$@
+else
.zlib.deps:
@(set -e; \
- . $(XEN_ROOT)/tools/check/funcs.sh; \
+ . ../check/funcs.sh; \
echo >$@.new; \
if has_header bzlib.h; then \
echo "-DHAVE_BZLIB" >>$@.new; \
@@ -166,6 +170,7 @@ libxenguest.so.$(MAJOR): libxenguest.so.$(MAJOR).$(MINOR)
echo " - LZMA decompression supported"; \
fi; \
mv $@.new $@)
+endif
xc_dom_bzimageloader.o: .zlib.deps
xc_dom_bzimageloader.o: CFLAGS += $(shell grep D .zlib.deps)