aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-09-14 15:15:15 +0000
committerJo-Philipp Wich <jow@openwrt.org>2015-09-14 15:15:15 +0000
commit61a61c6483f06e5fd992f55768a8fda8f6480649 (patch)
tree2002c0f4a0121634e7caf3ca77749ea9020d4941 /tools
parent63cee1cf68047d3063c2d986f76d447d4e0c4083 (diff)
downloadmaster-187ad058-61a61c6483f06e5fd992f55768a8fda8f6480649.tar.gz
master-187ad058-61a61c6483f06e5fd992f55768a8fda8f6480649.tar.bz2
master-187ad058-61a61c6483f06e5fd992f55768a8fda8f6480649.zip
tools/make-ext4fs: prefer static linking
Link zlib statically on Linux systems. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46909 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools')
-rw-r--r--tools/make-ext4fs/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/tools/make-ext4fs/Makefile b/tools/make-ext4fs/Makefile
index 62f7e27657..d6858cdd97 100644
--- a/tools/make-ext4fs/Makefile
+++ b/tools/make-ext4fs/Makefile
@@ -7,22 +7,26 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=make-ext4fs
-PKG_VERSION:=2015-05-01
+PKG_VERSION:=2015-09-14
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://git.openwrt.org/project/make_ext4fs.git
PKG_SOURCE_PROTO:=git
-PKG_SOURCE_VERSION:=7c15bef6c732896d9ffb883fb1480fcd60c94a50
+PKG_SOURCE_VERSION:=98e3d5c1ceddd4a32b92c1cfafe929fe006fb98c
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
-PKG_MIRROR_MD5SUM:=d81eca37852cbf840108e1a8ad8fb22f
+PKG_MIRROR_MD5SUM:=c736e546de3b36da73f5e84a9ce3ffee
PKG_CAT:=zcat
HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/host-build.mk
+ifeq ($(HOST_OS),Linux)
+ MAKE_STATIC := STATIC=1
+endif
+
define Host/Compile
- $(MAKE) -C $(HOST_BUILD_DIR) make_ext4fs
+ $(MAKE) -C $(HOST_BUILD_DIR) make_ext4fs $(MAKE_STATIC)
endef
define Host/Install