diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-08-15 13:28:26 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-08-15 13:28:26 +0000 |
commit | a062e08bb4f56ffe86ae3f754675ea248160438f (patch) | |
tree | 3ffc013c23c51c1646991453d5c15b3e7ed2f5b6 /target/imagebuilder | |
parent | 183f625a4816df521d55b4d5972076328f413a51 (diff) | |
download | mtk-20170518-a062e08bb4f56ffe86ae3f754675ea248160438f.zip mtk-20170518-a062e08bb4f56ffe86ae3f754675ea248160438f.tar.gz mtk-20170518-a062e08bb4f56ffe86ae3f754675ea248160438f.tar.bz2 |
use bundle-libraries.sh to install required host utilities into imagebuilder staging tree
SVN-Revision: 33196
Diffstat (limited to 'target/imagebuilder')
-rw-r--r-- | target/imagebuilder/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target/imagebuilder/Makefile b/target/imagebuilder/Makefile index 788e2c2..5d7b7ab 100644 --- a/target/imagebuilder/Makefile +++ b/target/imagebuilder/Makefile @@ -37,7 +37,6 @@ $(BIN_DIR)/$(IB_NAME).tar.bz2: clean $(PKG_BUILD_DIR)/ $(VERSION_SED) $(PKG_BUILD_DIR)/repositories.conf $(CP) $(PACKAGE_DIR) $(PKG_BUILD_DIR)/packages - $(CP) $(STAGING_DIR_HOST)/bin $(PKG_BUILD_DIR)/staging_dir/host/ $(CP) $(TOPDIR)/target/linux $(PKG_BUILD_DIR)/target/ rm -rf \ $(PKG_BUILD_DIR)/target/linux/*/files{,-*} \ @@ -47,6 +46,8 @@ $(BIN_DIR)/$(IB_NAME).tar.bz2: clean $(SED) 's,^# REVISION:=.*,REVISION:=$(REVISION),g' $(PKG_BUILD_DIR)/include/version.mk find $(PKG_BUILD_DIR) -name CVS -o -name .git -o -name .svn \ | $(XARGS) rm -rf + find $(STAGING_DIR_HOST)/bin -maxdepth 1 -type f -perm -u=x \ + | $(XARGS) $(SCRIPT_DIR)/bundle-libraries.sh $(PKG_BUILD_DIR)/staging_dir/host/bin $(TAR) c -C $(BUILD_DIR) $(IB_NAME) | bzip2 -c > $@ download: |