summaryrefslogtreecommitdiff
path: root/openwrt
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-08-27 11:46:12 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-08-27 11:46:12 +0000
commit343d9ce4f3ba1b85af236ebf2a1213b753fb0533 (patch)
treed89a25c8da44ad2bef33323194efe875f00c1257 /openwrt
parent6a53d18d6f3e70968f890069cd7ca2ad6e1431c3 (diff)
downloadmtk-20170518-343d9ce4f3ba1b85af236ebf2a1213b753fb0533.zip
mtk-20170518-343d9ce4f3ba1b85af236ebf2a1213b753fb0533.tar.gz
mtk-20170518-343d9ce4f3ba1b85af236ebf2a1213b753fb0533.tar.bz2
small image builder change
SVN-Revision: 1764
Diffstat (limited to 'openwrt')
-rw-r--r--openwrt/target/linux/imagebuilder/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/openwrt/target/linux/imagebuilder/Makefile b/openwrt/target/linux/imagebuilder/Makefile
index 8da50bd..bff3acf 100644
--- a/openwrt/target/linux/imagebuilder/Makefile
+++ b/openwrt/target/linux/imagebuilder/Makefile
@@ -39,4 +39,7 @@ build:
for package in `cat lists/$(LIST).$(BOARD)-$(KERNEL)`; do \
$(IPKG_KERNEL) install `ls packages/$${package}_*`; \
done
+ if [ -d ./files ]; then \
+ cp -fpR ./files/* $(LINUX_BUILD_DIR)/root; \
+ fi
$(MAKE) -S -C image KERNEL="$(KERNEL)" BOARD="$(BOARD)" BIN_DIR="$(BIN_DIR)/$(LIST)" install