aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/Makefile
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-06-15 13:20:11 +0100
committerKeir Fraser <keir.fraser@citrix.com>2010-06-15 13:20:11 +0100
commitc2c4e65d960453d6d764c837015e817c06c8dcea (patch)
treea64ceaf22445f1e459ee15cb3a41b3c278783794 /tools/libxc/Makefile
parentd371fcc85bac2de69b34a0d28293202a3b33cdef (diff)
downloadxen-c2c4e65d960453d6d764c837015e817c06c8dcea.tar.gz
xen-c2c4e65d960453d6d764c837015e817c06c8dcea.tar.bz2
xen-c2c4e65d960453d6d764c837015e817c06c8dcea.zip
Allow LZO compressed bzImage to be used as DomU kernel
... since recently Linux added this as another kernel compression method. Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'tools/libxc/Makefile')
-rw-r--r--tools/libxc/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/libxc/Makefile b/tools/libxc/Makefile
index 0ef99068ec..63eeb6ddb7 100644
--- a/tools/libxc/Makefile
+++ b/tools/libxc/Makefile
@@ -169,6 +169,10 @@ zlib-options = $(shell \
if has_header lzma.h; then \
echo "-DHAVE_LZMA"; \
echo "-llzma"; \
+ fi; \
+ if has_header lzo/lzo1x.h; then \
+ echo "-DHAVE_LZO1X"; \
+ echo "-llzo2"; \
fi) | grep $(1))
endif