X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/72ee8bf58afa4f371d49c5220834215e7603e8f7..244442b624f42476bfbf99149880081b3c25a1da:/openwrt/target/linux/imagebuilder/Makefile diff --git a/openwrt/target/linux/imagebuilder/Makefile b/openwrt/target/linux/imagebuilder/Makefile index f097e89e6..95b0939c4 100644 --- a/openwrt/target/linux/imagebuilder/Makefile +++ b/openwrt/target/linux/imagebuilder/Makefile @@ -42,7 +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; \ + if [ -d ./files.$(LIST) ]; then \ + cp -fpR ./files.$(LIST)/* $(LINUX_BUILD_DIR)/root; \ fi $(MAKE) -S -C image KERNEL="$(KERNEL)" BOARD="$(BOARD)" BIN_DIR="$(BIN_DIR)/$(LIST)" install