X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/878d2d742f50b178d3cf63570da1fe9c0383aad2..2288c6b33b373f732146b53575a37b9cd31d4ca9:/package/rules.mk diff --git a/package/rules.mk b/package/rules.mk index 53b868d1a..e5fe79e08 100644 --- a/package/rules.mk +++ b/package/rules.mk @@ -28,7 +28,8 @@ $(2)-clean: rm -f $$(IPKG_$(1)) clean: $(2)-clean mostlyclean: -rebuild: mostlyclean +rebuild: + -$(MAKE) mostlyclean if [ -f $(PKG_BUILD_DIR)/.built ]; then \ $(MAKE) clean; \ fi @@ -64,7 +65,6 @@ $(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured $(PACKAGE_DIR): mkdir -p $@ - clean: rm -rf $(PKG_BUILD_DIR)