package/uboot-envtools: remove runtime dependency of zlib
authorGabor Juhos <juhosg@openwrt.org>
Tue, 1 Nov 2011 09:23:27 +0000 (09:23 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Tue, 1 Nov 2011 09:23:27 +0000 (09:23 +0000)
zlib is a build-dependency, but in runtime zlib is not required,
see:
root@OpenWrt:/# ldd /usr/sbin/fw_printenv
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2abb2000)
        libc.so.0 => /lib/libc.so.0 (0x2abd4000)
        ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x2ab9a000)

Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 28696

package/uboot-envtools/Makefile

index eaa692142a291df4ac7433605d0ede3fa95d8bd3..600697f1468c1e017fcd3737187fa0ecd37d7296 100644 (file)
@@ -10,11 +10,12 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=uboot-envtools
 PKG_DISTNAME:=u-boot
 PKG_VERSION:=2011.06
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_DISTNAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=ftp://ftp.denx.de/pub/u-boot
 PKG_MD5SUM:=
+PKG_BUILD_DEPENDS:=zlib
 
 include $(INCLUDE_DIR)/package.mk
 
@@ -24,7 +25,6 @@ define Package/uboot-envtools
   SECTION:=utils
   CATEGORY:=Utilities
   TITLE:=read/modify U-Boot bootloader environment
-  DEPENDS:= +zlib
   URL:=http://www.denx.de/wiki/U-Boot
 endef