summaryrefslogtreecommitdiffstats
path: root/package/zlib/zlib.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-10-03 23:03:05 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2009-10-03 23:03:05 +0200
commit1e32e0700a0f7f2ffa42a943871d1b4428711bb2 (patch)
tree3ca9eb73f0f5d599895e64d3831426847d120903 /package/zlib/zlib.mk
parent7c1c71f91913827bb8558e1ad9ba96ccad2837f1 (diff)
downloadbuildroot-novena-1e32e0700a0f7f2ffa42a943871d1b4428711bb2.tar.gz
buildroot-novena-1e32e0700a0f7f2ffa42a943871d1b4428711bb2.zip
zlib: remove dedicated target-headers option
Instead, simply only copy headers/static lib if BR2_HAVE_DEVFILES is enabled. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/zlib/zlib.mk')
-rw-r--r--package/zlib/zlib.mk7
1 files changed, 1 insertions, 6 deletions
diff --git a/package/zlib/zlib.mk b/package/zlib/zlib.mk
index a67a5e830..9131832f9 100644
--- a/package/zlib/zlib.mk
+++ b/package/zlib/zlib.mk
@@ -68,9 +68,7 @@ $(TARGET_DIR)/usr/lib/libz.a: $(STAGING_DIR)/usr/lib/libz.a
$(INSTALL) -D $(STAGING_DIR)/usr/lib/libz.a $(TARGET_DIR)/usr/lib/libz.a
touch -c $@
-zlib-headers: $(TARGET_DIR)/usr/lib/libz.a
-
-zlib: $(ZLIB_TARGET)
+zlib: $(ZLIB_TARGET) $(if $(BR2_HAVE_DEVFILES,$(TARGET_DIR)/usr/lib/libz.a)
zlib-source: $(DL_DIR)/$(ZLIB_SOURCE)
@@ -94,6 +92,3 @@ zlib-dirclean:
ifeq ($(BR2_PACKAGE_ZLIB),y)
TARGETS+=zlib
endif
-ifeq ($(BR2_PACKAGE_ZLIB_TARGET_HEADERS),y)
-TARGETS+=zlib-headers
-endif