summaryrefslogtreecommitdiffstats
path: root/package/zlib
diff options
context:
space:
mode:
Diffstat (limited to 'package/zlib')
-rw-r--r--package/zlib/Config.in7
-rw-r--r--package/zlib/zlib.mk3
2 files changed, 10 insertions, 0 deletions
diff --git a/package/zlib/Config.in b/package/zlib/Config.in
index e39e8abb0..5b85ff7e4 100644
--- a/package/zlib/Config.in
+++ b/package/zlib/Config.in
@@ -6,3 +6,10 @@ config BR2_PACKAGE_ZLIB
gzip and libpng.
http://www.gzip.org/zlib/
+
+config BR2_PACKAGE_ZLIB_TARGET_HEADERS
+ bool "zlib headers in target"
+ default n
+ depends on BR2_PACKAGE_ZLIB
+ help
+ Put headers files in the target.
diff --git a/package/zlib/zlib.mk b/package/zlib/zlib.mk
index 4b8f92d55..978024a89 100644
--- a/package/zlib/zlib.mk
+++ b/package/zlib/zlib.mk
@@ -79,3 +79,6 @@ zlib-dirclean:
ifeq ($(strip $(BR2_PACKAGE_ZLIB)),y)
TARGETS+=zlib
endif
+ifeq ($(strip $(BR2_PACKAGE_ZLIB_TARGET_HEADERS)),y)
+TARGETS+=zlib-headers
+endif