small image builder change
authorFelix Fietkau <nbd@openwrt.org>
Sat, 27 Aug 2005 11:59:31 +0000 (11:59 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 27 Aug 2005 11:59:31 +0000 (11:59 +0000)
SVN-Revision: 1766

openwrt/target/linux/imagebuilder/Makefile

index bff3acf8f03b1aec53f363286fca65f367beb6c0..f097e89e6926536dd4957ee2047c4eaf4a1b693f 100644 (file)
@@ -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