Fix config checks for Image Builder and SDK - only build them when requested.
[openwrt.org/openwrt.git] / package / Makefile
blob:a/package/Makefile -> blob:b/package/Makefile
--- a/package/Makefile
+++ b/package/Makefile
@@ -50,7 +50,9 @@
 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

comments