X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/01eb3cf5990bbf95101c4a96d982bd0a2ee75dfa..74dc21e8e5a77f5d1902dbc64ab7cb06f779f21d:/openwrt/package/rules.mk?ds=inline diff --git a/openwrt/package/rules.mk b/openwrt/package/rules.mk index 53b868d1a..e5fe79e08 100644 --- a/openwrt/package/rules.mk +++ b/openwrt/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)