From e0a55bf1acef8ca64fb3bdf9df93586e909cc617 Mon Sep 17 00:00:00 2001 From: nbd Date: Sun, 14 Jan 2007 23:37:40 +0000 Subject: 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6102 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/sdk/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'target/sdk') diff --git a/target/sdk/Makefile b/target/sdk/Makefile index 56a6c97ec..d65b934c9 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 -- cgit v1.2.3