summaryrefslogtreecommitdiff
path: root/tools/padjffs2/Makefile
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-08-10 19:26:43 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-08-10 19:26:43 +0000
commit9903c3ead8e1d3c0ced9987f47c7f50b6c5403ae (patch)
tree1fc4293dfe5059533413862bf5c3e0345246851d /tools/padjffs2/Makefile
parent5dfdbd0066d8272b6658f9b08b31d4155e6a5e9c (diff)
downloadmtk-20170518-9903c3ead8e1d3c0ced9987f47c7f50b6c5403ae.zip
mtk-20170518-9903c3ead8e1d3c0ced9987f47c7f50b6c5403ae.tar.gz
mtk-20170518-9903c3ead8e1d3c0ced9987f47c7f50b6c5403ae.tar.bz2
padjffs2: link statically
SVN-Revision: 33100
Diffstat (limited to 'tools/padjffs2/Makefile')
-rw-r--r--tools/padjffs2/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/padjffs2/Makefile b/tools/padjffs2/Makefile
index a949ac0..3f033c0 100644
--- a/tools/padjffs2/Makefile
+++ b/tools/padjffs2/Makefile
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2011 OpenWrt.org
+# Copyright (C) 2011-2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -18,6 +18,10 @@ define Host/Prepare
find $(HOST_BUILD_DIR) -name .svn | $(XARGS) rm -rf
endef
+define Host/Compile
+ $(MAKE) -C $(HOST_BUILD_DIR) LDFLAGS="-static"
+endef
+
define Host/Configure
endef