Fix image builder generation (#2213)
authorFlorian Fainelli <florian@openwrt.org>
Tue, 14 Aug 2007 09:47:29 +0000 (09:47 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Tue, 14 Aug 2007 09:47:29 +0000 (09:47 +0000)
SVN-Revision: 8412

target/imagebuilder/Makefile

index 6c101015b4a7602b920806533af2bf8d54a69f59..ed051ecebc53f804aef6c83ba7cb212ff321fb7a 100644 (file)
@@ -29,7 +29,7 @@ $(BIN_DIR)/$(IB_NAME).tar.bz2: clean
                $(TMP_DIR)/.targetinfo \
                ./files/Makefile \
                $(IB_BUILD_DIR)/
-       $(CP) $(TOPDIR)/staging_dir_$(ARCH)/bin/* $(IB_BUILD_DIR)/staging_dir_$(ARCH)/bin
+       $(CP) $(TOOLCHAIN_DIR)/bin/* $(IB_BUILD_DIR)/staging_dir_$(ARCH)/bin
        $(CP) $(TOPDIR)/target/linux/* $(IB_BUILD_DIR)/target/linux
        rm -rf $(IB_BUILD_DIR)/target/linux/*/patches
        -cp $(BUILD_DIR)/linux-$(KERNEL)-$(BOARD)/* $(IB_BUILD_DIR)/build_$(ARCH)/linux-$(KERNEL)-$(BOARD) # don't copy subdirectories here