X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/44de7e58b438991d8bb43a5d54310c7b9e484004..2b2bc6c3ccaff20a2b7767cd9ead475c0be040f8:/target/imagebuilder/Makefile diff --git a/target/imagebuilder/Makefile b/target/imagebuilder/Makefile index 6c101015b..0dae2b12e 100644 --- a/target/imagebuilder/Makefile +++ b/target/imagebuilder/Makefile @@ -24,12 +24,12 @@ $(BIN_DIR)/$(IB_NAME).tar.bz2: clean $(CP) \ $(INCLUDE_DIR) $(SCRIPT_DIR) $(PACKAGE_DIR) \ $(TOPDIR)/rules.mk $(TOPDIR)/.config \ - $(TMP_DIR)/.target.mk \ + $(INCLUDE_DIR)/target.mk \ $(TMP_DIR)/.packageinfo \ $(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