diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-06-25 09:07:08 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-06-25 09:07:08 +0000 |
commit | 933d5c60efa0d194a129d02ed14613d7c3169551 (patch) | |
tree | 02fa6518030bf75ac910be456822236b0f6fc8c9 /package | |
parent | 2f92075db285d076ea27a982319f6ab270831637 (diff) | |
download | buildroot-novena-933d5c60efa0d194a129d02ed14613d7c3169551.tar.gz buildroot-novena-933d5c60efa0d194a129d02ed14613d7c3169551.zip |
- improve the zlib-clean target
Diffstat (limited to 'package')
-rw-r--r-- | package/zlib/zlib.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/package/zlib/zlib.mk b/package/zlib/zlib.mk index 247940f56..27db93804 100644 --- a/package/zlib/zlib.mk +++ b/package/zlib/zlib.mk @@ -50,6 +50,7 @@ $(STAGING_DIR)/usr/lib/libz.so.$(ZLIB_VER): $(ZLIB_DIR)/libz.so.$(ZLIB_VER) touch -c $@ $(TARGET_DIR)/usr/lib/libz.so.$(ZLIB_VER): $(STAGING_DIR)/usr/lib/libz.so.$(ZLIB_VER) + mkdir -p $(TARGET_DIR)/usr/lib cp -dpf $(STAGING_DIR)/usr/lib/libz.so* $(TARGET_DIR)/usr/lib -$(STRIP) --strip-unneeded $(TARGET_DIR)/usr/lib/libz.so* touch -c $@ @@ -71,7 +72,11 @@ zlib-source: $(DL_DIR)/$(ZLIB_SOURCE) zlib-clean: rm -f $(TARGET_DIR)/usr/lib/libz.so* \ - $(TARGET_DIR)/usr/include/z{lib,conf}.h + $(TARGET_DIR)/usr/include/zlib.h \ + $(TARGET_DIR)/usr/include/zconf.h \ + $(STAGING_DIR)/usr/include/zlib.h \ + $(STAGING_DIR)/usr/include/zconf.h \ + $(STAGING_DIR)/usr/lib/libz.* -$(MAKE) -C $(ZLIB_DIR) clean zlib-dirclean: |