summaryrefslogtreecommitdiff
path: root/package/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-01-14 23:37:40 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-01-14 23:37:40 +0000
commit351d0d4b07fe39e6fad5d14fc18f176298a96143 (patch)
tree5a865e0b5fe3ac25b2e12aac47700b789d119b48 /package/Makefile
parentfd9477a18f6cea564acd9c6801d844411b8bd9e8 (diff)
downloadmtk-20170518-351d0d4b07fe39e6fad5d14fc18f176298a96143.zip
mtk-20170518-351d0d4b07fe39e6fad5d14fc18f176298a96143.tar.gz
mtk-20170518-351d0d4b07fe39e6fad5d14fc18f176298a96143.tar.bz2
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
Diffstat (limited to 'package/Makefile')
-rw-r--r--package/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/Makefile b/package/Makefile
index eafd8cb..cd4304e 100644
--- a/package/Makefile
+++ b/package/Makefile
@@ -50,7 +50,9 @@ prereq: $(PREREQ_PACKAGES)
download: $(DOWNLOAD_PACKAGES)
compile-targets: $(COMPILE_PACKAGES)
compile:
+ @-rm -f $(PACKAGE_DIR)/*.ipk
$(MAKE) compile-targets
+
install-targets: $(INSTALL_PACKAGES)
install:
rm -rf $(BUILD_DIR)/root