X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/f025f34c0daf190106635e7d5767f2b8c1eac402..6e8c336f90f207ebc635f7ee57284256ec675bf2:/target/imagebuilder/Makefile?ds=sidebyside diff --git a/target/imagebuilder/Makefile b/target/imagebuilder/Makefile index 439a10342..0cbbfa283 100644 --- a/target/imagebuilder/Makefile +++ b/target/imagebuilder/Makefile @@ -18,13 +18,14 @@ IB_BUILD_DIR:=$(BUILD_DIR)/$(IB_NAME) all: compile -$(BIN_DIR)/$(IB_NAME).tar.bz2: FORCE +$(BIN_DIR)/$(IB_NAME).tar.bz2: clean rm -rf $(IB_BUILD_DIR) mkdir -p $(IB_BUILD_DIR)/build_$(ARCH)/linux-$(KERNEL)-$(BOARD) $(IB_BUILD_DIR)/staging_dir_$(ARCH)/bin $(IB_BUILD_DIR)/target/linux $(CP) \ $(INCLUDE_DIR) $(SCRIPT_DIR) $(PACKAGE_DIR) \ $(TOPDIR)/rules.mk $(TOPDIR)/.config \ $(TMP_DIR)/.target.mk \ + $(TMP_DIR)/.pkginfo \ $(TMP_DIR)/.targetinfo \ ./files/Makefile \ $(IB_BUILD_DIR)/ @@ -43,5 +44,5 @@ prepare: compile: $(BIN_DIR)/$(IB_NAME).tar.bz2 install: compile -clean: +clean: FORCE rm -rf $(IB_BUILD_DIR) $(BIN_DIR)/$(IB_NAME).tar.bz2