summaryrefslogtreecommitdiff
path: root/kexec/Makefile
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2008-02-19 14:50:26 +0900
committerSimon Horman <horms@verge.net.au>2008-02-19 14:50:26 +0900
commitffde99f4920fe60798d527c2bcdf91d1d2385b86 (patch)
tree02e367c79f4115fea8fb9bde7131d100747dafa2 /kexec/Makefile
parent487794c3a650dac933e8aeaaf618b466cc306519 (diff)
Use zlib if present
Hi, This fixes a minor regression that occured with Jeremy's recent reworking of the build system. I guess he wasn't dealing with compressed images and thus didn't notice that zlib support had been disabled. The fix involves updating an #ifdef to use the new symbol, and ensuring that -lz is passed to the linker as neccessary. Cc: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/Makefile')
-rw-r--r--kexec/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/kexec/Makefile b/kexec/Makefile
index 29534d0..7832a13 100644
--- a/kexec/Makefile
+++ b/kexec/Makefile
@@ -36,6 +36,7 @@ KEXEC_MANPAGE = $(MANDIR)/man8/kexec.8
-include $(KEXEC_DEPS)
+$(KEXEC): LDFLAGS+=$(LIBS)
$(KEXEC): $(KEXEC_OBJS) $(UTIL_LIB)
@$(MKDIR) -p $(@D)
$(LINK.o) -o $@ $^