mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-01 23:47:42 +00:00
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>
This commit is contained in:
parent
7c1c71f919
commit
1e32e0700a
@ -5,9 +5,3 @@ config BR2_PACKAGE_ZLIB
|
|||||||
gzip and libpng.
|
gzip and libpng.
|
||||||
|
|
||||||
http://www.gzip.org/zlib/
|
http://www.gzip.org/zlib/
|
||||||
|
|
||||||
config BR2_PACKAGE_ZLIB_TARGET_HEADERS
|
|
||||||
bool "zlib headers in target"
|
|
||||||
depends on BR2_PACKAGE_ZLIB
|
|
||||||
help
|
|
||||||
Put headers files in the target.
|
|
||||||
|
@ -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
|
$(INSTALL) -D $(STAGING_DIR)/usr/lib/libz.a $(TARGET_DIR)/usr/lib/libz.a
|
||||||
touch -c $@
|
touch -c $@
|
||||||
|
|
||||||
zlib-headers: $(TARGET_DIR)/usr/lib/libz.a
|
zlib: $(ZLIB_TARGET) $(if $(BR2_HAVE_DEVFILES,$(TARGET_DIR)/usr/lib/libz.a)
|
||||||
|
|
||||||
zlib: $(ZLIB_TARGET)
|
|
||||||
|
|
||||||
zlib-source: $(DL_DIR)/$(ZLIB_SOURCE)
|
zlib-source: $(DL_DIR)/$(ZLIB_SOURCE)
|
||||||
|
|
||||||
@ -94,6 +92,3 @@ zlib-dirclean:
|
|||||||
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
||||||
TARGETS+=zlib
|
TARGETS+=zlib
|
||||||
endif
|
endif
|
||||||
ifeq ($(BR2_PACKAGE_ZLIB_TARGET_HEADERS),y)
|
|
||||||
TARGETS+=zlib-headers
|
|
||||||
endif
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user