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 | 2cf3780bea997e6908ff493f20f04bdb5f128a47 (patch) | |
tree | d680bd5375024aa5e8b6a06b999f03a3655f14fc /target/Makefile | |
parent | a4ee82e1988661811cab300e22c38258271e13cb (diff) | |
download | upstream-2cf3780bea997e6908ff493f20f04bdb5f128a47.tar.gz upstream-2cf3780bea997e6908ff493f20f04bdb5f128a47.tar.bz2 upstream-2cf3780bea997e6908ff493f20f04bdb5f128a47.zip |
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/Makefile')
-rw-r--r-- | target/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/target/Makefile b/target/Makefile index 4853e3fbd2..3f97b9a14d 100644 --- a/target/Makefile +++ b/target/Makefile @@ -20,7 +20,15 @@ IMAGE_DIR:=linux/$(BOARD)-$(KERNEL)/image download: $(patsubst %,%-download,$(TARGETS-y)) prepare: linux-prepare compile: linux-compile image_compile -install: image_clean linux-install sdk_install image_install imagebuilder_install +install: image_clean linux-install image_install + +ifeq ($(CONFIG_SDK),y) +install: sdk_install +endif +ifeq ($(CONFIG_IB),y) +install: imagebuilder_install +endif + clean: linux-clean sdk-clean imagebuilder-clean image_clean prereq: FORCE |