X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/b1b9e3fadc4d2575d7846c202e93bbdefd55d6a1..159377985a06e06657d113687835f82f46a2c437:/include/package.mk diff --git a/include/package.mk b/include/package.mk index 7af742039..cd1a33c48 100644 --- a/include/package.mk +++ b/include/package.mk @@ -10,6 +10,8 @@ else all: compile endif +include $(INCLUDE_DIR)/prereq.mk + define Build/DefaultTargets ifeq ($(DUMP),) ifeq ($(CONFIG_AUTOREBUILD),y) @@ -220,7 +222,7 @@ define BuildPackage clean: $(1)-clean - $(PKG_BUILD_DIR)/.version-$(1)_$(VERSION)_$(PKGARCH): + $(PKG_BUILD_DIR)/.version-$(1)_$(VERSION)_$(PKGARCH): $(PKG_BUILD_DIR)/.prepared -rm $(PKG_BUILD_DIR)/.version-$(1)_* @touch $$@