Fix the imagebuilder compilation (#2213)
authorFlorian Fainelli <florian@openwrt.org>
Mon, 13 Aug 2007 16:30:54 +0000 (16:30 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Mon, 13 Aug 2007 16:30:54 +0000 (16:30 +0000)
SVN-Revision: 8410

target/imagebuilder/Makefile

index 925dc80..6c10101 100644 (file)
@@ -29,7 +29,7 @@ $(BIN_DIR)/$(IB_NAME).tar.bz2: clean
                $(TMP_DIR)/.targetinfo \
                ./files/Makefile \
                $(IB_BUILD_DIR)/
-       $(CP) $(STAGING_DIR)/bin/* $(IB_BUILD_DIR)/staging_dir_$(ARCH)/bin
+       $(CP) $(TOPDIR)/staging_dir_$(ARCH)/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