From 351d0d4b07fe39e6fad5d14fc18f176298a96143 Mon Sep 17 00:00:00 2001 From: Felix Fietkau 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. SVN-Revision: 6102 --- target/imagebuilder/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'target/imagebuilder/Makefile') diff --git a/target/imagebuilder/Makefile b/target/imagebuilder/Makefile index 439a103428..b59b265adc 100644 --- a/target/imagebuilder/Makefile +++ b/target/imagebuilder/Makefile @@ -18,7 +18,7 @@ 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) \ @@ -43,5 +43,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 -- cgit v1.2.3