[8.09] imagebuilder: fix brcm47xx
authorAndy Boyett <agb@openwrt.org>
Tue, 3 Nov 2009 11:31:56 +0000 (11:31 +0000)
committerAndy Boyett <agb@openwrt.org>
Tue, 3 Nov 2009 11:31:56 +0000 (11:31 +0000)
SVN-Revision: 18286

target/imagebuilder/Makefile

index 3e9f801..976aa40 100644 (file)
@@ -36,6 +36,9 @@ $(BIN_DIR)/$(IB_NAME).tar.bz2: clean
        $(CP) $(STAGING_DIR_HOST)/bin/* $(PKG_BUILD_DIR)/staging_dir/host/bin/
        mkdir -p $(PKG_BUILD_DIR)/target/linux
        $(CP) $(TOPDIR)/target/linux/$(BOARD) $(PKG_BUILD_DIR)/target/linux/
+        ifeq ($(BOARD),brcm47xx)
+               $(CP) $(TOPDIR)/target/linux/brcm-2.4 $(PKG_BUILD_DIR)/target/linux/
+        endif
        rm -rf \
                $(PKG_BUILD_DIR)/target/linux/*/files \
                $(PKG_BUILD_DIR)/target/linux/*/patches \