X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/3b8ee9a4d4849c22703aaf613effb0e80edbaa65..7a5980c056a125589483b5b3d468196d2750a311:/include/package-defaults.mk?ds=sidebyside diff --git a/include/package-defaults.mk b/include/package-defaults.mk index 700bc5b99..753c10227 100644 --- a/include/package-defaults.mk +++ b/include/package-defaults.mk @@ -117,3 +117,11 @@ define Build/Install/Default $(MAKE_INSTALL_FLAGS) \ $(1) install; endef + +define Build/Dist/Default + $(call Build/Compile/Default, DESTDIR="$(PKG_BUILD_DIR)/tmp" CC="$(TARGET_CC)" dist) +endef + +define Build/DistCheck/Default + $(call Build/Compile/Default, DESTDIR="$(PKG_BUILD_DIR)/tmp" CC="$(TARGET_CC)" distcheck) +endef