summaryrefslogtreecommitdiff
path: root/package/libs
diff options
context:
space:
mode:
authorStijn Tintel <stijn@linux-ipv6.be>2017-03-11 09:32:19 +0100
committerJo-Philipp Wich <jo@mein.io>2017-12-13 16:23:39 +0100
commit610e2afdcc2a0d7ba56dccc5c941437f89d58727 (patch)
tree51cb0bc75c0d1ba2c2fdf703ae48ae9612952b6b /package/libs
parentcf11a41af68e544783146f76cb0968fbd64da1ff (diff)
downloadmtk-20170518-610e2afdcc2a0d7ba56dccc5c941437f89d58727.zip
mtk-20170518-610e2afdcc2a0d7ba56dccc5c941437f89d58727.tar.gz
mtk-20170518-610e2afdcc2a0d7ba56dccc5c941437f89d58727.tar.bz2
zlib: use default Build/Configure rule
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> (cherry picked from commit 462ca4e059dbead678163da26fb4e14748f3021e)
Diffstat (limited to 'package/libs')
-rw-r--r--package/libs/zlib/Makefile20
1 files changed, 9 insertions, 11 deletions
diff --git a/package/libs/zlib/Makefile b/package/libs/zlib/Makefile
index 902381b..7e3bd83 100644
--- a/package/libs/zlib/Makefile
+++ b/package/libs/zlib/Makefile
@@ -45,17 +45,15 @@ define Package/zlib-dev/description
This package includes the development support files.
endef
-define Build/Configure
- (cd $(PKG_BUILD_DIR); \
- $(TARGET_CONFIGURE_OPTS) \
- LDSHARED="$(TARGET_CC) -shared -Wl,-soname,libz.so.1" \
- CFLAGS="$(TARGET_CFLAGS) $(FPIC)" \
- ./configure \
- --prefix=/usr \
- --shared \
- --uname=Linux \
- );
-endef
+CONFIGURE_VARS := \
+ $(TARGET_CONFIGURE_OPTS) \
+ LDSHARED="$(TARGET_CC) -shared -Wl,-soname,libz.so.1" \
+ CFLAGS="$(TARGET_CFLAGS) $(FPIC)" \
+
+CONFIGURE_ARGS := \
+ --prefix=/usr \
+ --shared \
+ --uname=Linux \
define Build/Compile
+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \