summaryrefslogtreecommitdiff
path: root/tools/mkimage/Makefile
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-08-10 19:26:34 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-08-10 19:26:34 +0000
commit299762f1904bc45eadad3d45f69a2c7bf9a3fe06 (patch)
tree5af7d5c17e3077ef211fc14c903f278d0f070d46 /tools/mkimage/Makefile
parent82c39a260e1bdd639dcfa89f96234c43164b074f (diff)
downloadmtk-20170518-299762f1904bc45eadad3d45f69a2c7bf9a3fe06.zip
mtk-20170518-299762f1904bc45eadad3d45f69a2c7bf9a3fe06.tar.gz
mtk-20170518-299762f1904bc45eadad3d45f69a2c7bf9a3fe06.tar.bz2
mkimage: link statically
SVN-Revision: 33096
Diffstat (limited to 'tools/mkimage/Makefile')
-rw-r--r--tools/mkimage/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mkimage/Makefile b/tools/mkimage/Makefile
index d4338e5..e26d6b7 100644
--- a/tools/mkimage/Makefile
+++ b/tools/mkimage/Makefile
@@ -21,7 +21,7 @@ include $(INCLUDE_DIR)/host-build.mk
define Host/Compile
rm -f $(HOST_BUILD_DIR)/tools/.depend
touch $(HOST_BUILD_DIR)/include/config.h
- $(MAKE) -C $(HOST_BUILD_DIR) BUILD_DIR= BIN_FILES-y="mkimage" tools
+ $(MAKE) -C $(HOST_BUILD_DIR) BUILD_DIR= BIN_FILES-y="mkimage" HOSTLDFLAGS="-static" tools
endef
define Host/Install