summaryrefslogtreecommitdiff
path: root/target/imagebuilder
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2014-05-14 12:29:36 +0000
committerJo-Philipp Wich <jow@openwrt.org>2014-05-14 12:29:36 +0000
commit69a6fd0190850e7f62dd555baefe54881c748218 (patch)
treef78838c49809646c316f05faf90779e253c6a8e5 /target/imagebuilder
parent1f3a36b9c397aa6718978ac145ed30a75c64b1db (diff)
downloadmtk-20170518-69a6fd0190850e7f62dd555baefe54881c748218.zip
mtk-20170518-69a6fd0190850e7f62dd555baefe54881c748218.tar.gz
mtk-20170518-69a6fd0190850e7f62dd555baefe54881c748218.tar.bz2
imagebuilder: bundle dtc (#12953, #14741)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 40767
Diffstat (limited to 'target/imagebuilder')
-rw-r--r--target/imagebuilder/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/imagebuilder/Makefile b/target/imagebuilder/Makefile
index a9480ef..5dd95ea 100644
--- a/target/imagebuilder/Makefile
+++ b/target/imagebuilder/Makefile
@@ -43,6 +43,8 @@ $(BIN_DIR)/$(IB_NAME).tar.bz2: clean
$(PKG_BUILD_DIR)/target/linux/*/patches{,-*}
-cp $(KERNEL_BUILD_DIR)/* $(IB_KDIR)/ # don't copy subdirectories here
-cp $(LINUX_DIR)/.config $(IB_LDIR)/
+ -$(SCRIPT_DIR)/bundle-libraries.sh $(IB_LDIR)/scripts/dtc \
+ $(LINUX_DIR)/scripts/dtc/dtc
$(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