X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/9158119b40ef7ad488480bfeccb007544875bc25..21a96eeb47f963f2adeb613a9d757e24f4e9c281:/include/package.mk diff --git a/include/package.mk b/include/package.mk index a35166142..22808654d 100644 --- a/include/package.mk +++ b/include/package.mk @@ -141,6 +141,8 @@ define Build/DefaultTargets prepare: $(STAMP_PREPARED) configure: $(STAMP_CONFIGURED) + dist: $(STAMP_CONFIGURED) + distcheck: $(STAMP_CONFIGURED) endef define BuildPackage @@ -189,6 +191,8 @@ Build/Prepare=$(call Build/Prepare/Default,) Build/Configure=$(call Build/Configure/Default,) Build/Compile=$(call Build/Compile/Default,) Build/Install=$(if $(PKG_INSTALL),$(call Build/Install/Default,)) +Build/Dist=$(call Build/Dist/Default,) +Build/DistCheck=$(call Build/DistCheck/Default,) $(PACKAGE_DIR): mkdir -p $@ @@ -213,3 +217,9 @@ clean: clean-staging FORCE $(Build/Clean) rm -f $(STAGING_DIR)/packages/$(PKG_NAME).list $(STAGING_DIR_HOST)/packages/$(PKG_NAME).list rm -rf $(PKG_BUILD_DIR) + +dist: + $(Build/Dist) + +distcheck: + $(Build/DistCheck)