diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-01-14 23:37:40 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-01-14 23:37:40 +0000 |
commit | 351d0d4b07fe39e6fad5d14fc18f176298a96143 (patch) | |
tree | 5a865e0b5fe3ac25b2e12aac47700b789d119b48 /target/sdk | |
parent | fd9477a18f6cea564acd9c6801d844411b8bd9e8 (diff) | |
download | mtk-20170518-351d0d4b07fe39e6fad5d14fc18f176298a96143.zip mtk-20170518-351d0d4b07fe39e6fad5d14fc18f176298a96143.tar.gz mtk-20170518-351d0d4b07fe39e6fad5d14fc18f176298a96143.tar.bz2 |
Fix config checks for Image Builder and SDK - only build them when requested. Clear all packages from bin/packages at the beginning of package/compile when the Image Builder is selected, because the Image Builder can't handle multiple versions of the same package.
SVN-Revision: 6102
Diffstat (limited to 'target/sdk')
-rw-r--r-- | target/sdk/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/target/sdk/Makefile b/target/sdk/Makefile index 56a6c97..d65b934 100644 --- a/target/sdk/Makefile +++ b/target/sdk/Makefile @@ -18,8 +18,7 @@ SDK_BUILD_DIR:=$(BUILD_DIR)/$(SDK_NAME) all: compile -$(BIN_DIR)/$(SDK_NAME).tar.bz2: - rm -rf $(SDK_BUILD_DIR) +$(BIN_DIR)/$(SDK_NAME).tar.bz2: clean mkdir -p $(SDK_BUILD_DIR)/dl $(SDK_BUILD_DIR)/package $(CP) $(INCLUDE_DIR) $(SCRIPT_DIR) $(TOPDIR)/docs $(SDK_BUILD_DIR)/ $(TAR) -cf - -C $(TOPDIR) --exclude=ccache/ staging_dir_$(ARCH) | \ @@ -45,7 +44,7 @@ $(BIN_DIR)/$(SDK_NAME).tar.bz2: download: prepare: compile: $(BIN_DIR)/$(SDK_NAME).tar.bz2 -install: +install: compile clean: rm -rf $(SDK_BUILD_DIR) $(BIN_DIR)/$(SDK_NAME).tar.bz2 |