diff options
-rw-r--r-- | openwrt/target/linux/imagebuilder/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openwrt/target/linux/imagebuilder/Makefile b/openwrt/target/linux/imagebuilder/Makefile index 8da50bdd7..bff3acf8f 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 |