summaryrefslogtreecommitdiffstats
path: root/lib_generic/Makefile
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-02-05 21:04:50 -0500
committerWolfgang Denk <wd@denx.de>2009-02-11 23:04:13 +0100
commitab76e9848a1f4db64d14233741d739a3b3360c93 (patch)
treec5ff00e883e95fa221ad35e5065650af84b316e2 /lib_generic/Makefile
parentae0b05df04e1cc65c5ad19ccd362f4be82df7316 (diff)
downloadbootable_bootloader_goldelico_gta04-ab76e9848a1f4db64d14233741d739a3b3360c93.zip
bootable_bootloader_goldelico_gta04-ab76e9848a1f4db64d14233741d739a3b3360c93.tar.gz
bootable_bootloader_goldelico_gta04-ab76e9848a1f4db64d14233741d739a3b3360c93.tar.bz2
bzip2: move ifdef handling to Makefile COBJS-$(...)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'lib_generic/Makefile')
-rw-r--r--lib_generic/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib_generic/Makefile b/lib_generic/Makefile
index 3f04022..686601c 100644
--- a/lib_generic/Makefile
+++ b/lib_generic/Makefile
@@ -26,11 +26,11 @@ include $(TOPDIR)/config.mk
LIB = $(obj)libgeneric.a
COBJS-$(CONFIG_ADDR_MAP) += addr_map.o
-COBJS-y += bzlib.o
-COBJS-y += bzlib_crctable.o
-COBJS-y += bzlib_decompress.o
-COBJS-y += bzlib_randtable.o
-COBJS-y += bzlib_huffman.o
+COBJS-$(CONFIG_BZIP2) += bzlib.o
+COBJS-$(CONFIG_BZIP2) += bzlib_crctable.o
+COBJS-$(CONFIG_BZIP2) += bzlib_decompress.o
+COBJS-$(CONFIG_BZIP2) += bzlib_randtable.o
+COBJS-$(CONFIG_BZIP2) += bzlib_huffman.o
COBJS-y += crc16.o
COBJS-y += crc32.o
COBJS-y += ctype.o