diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-01-14 23:37:40 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-01-14 23:37:40 +0000 |
commit | e0a55bf1acef8ca64fb3bdf9df93586e909cc617 (patch) | |
tree | d680bd5375024aa5e8b6a06b999f03a3655f14fc /target/imagebuilder/Makefile | |
parent | 9ddafedf93e8ee47af26e49b23d63eb8a775240a (diff) |
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
Diffstat (limited to 'target/imagebuilder/Makefile')
-rw-r--r-- | target/imagebuilder/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/imagebuilder/Makefile b/target/imagebuilder/Makefile index 439a10342..b59b265ad 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 |