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/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'target/Makefile') 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 -- cgit v1.2.3