summaryrefslogtreecommitdiff
path: root/openwrt/target/linux/imagebuilder/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/target/linux/imagebuilder/Makefile')
-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 bff3acf8f0..f097e89e69 100644
--- a/openwrt/target/linux/imagebuilder/Makefile
+++ b/openwrt/target/linux/imagebuilder/Makefile
@@ -42,4 +42,7 @@ build:
if [ -d ./files ]; then \
cp -fpR ./files/* $(LINUX_BUILD_DIR)/root; \
fi
+ if [ -d ./files.$(BOARD) ]; then \
+ cp -fpR ./files.$(BOARD)/* $(LINUX_BUILD_DIR)/root; \
+ fi
$(MAKE) -S -C image KERNEL="$(KERNEL)" BOARD="$(BOARD)" BIN_DIR="$(BIN_DIR)/$(LIST)" install