From: Jonas Gorski Date: Sat, 22 Jun 2019 12:02:27 +0000 (+0200) Subject: build: warn when packages have no associated install section X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=76971461b77d8ace7c4ff208de0510301e75ecc1;p=openwrt%2Fstaging%2Fjogo.git build: warn when packages have no associated install section Signed-off-by: Jonas Gorski --- diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk index 38252b95cd..442d3854f0 100644 --- a/include/package-ipkg.mk +++ b/include/package-ipkg.mk @@ -124,6 +124,8 @@ ifeq ($(DUMP),) endif $(PKG_INSTALL_STAMP).$(1): prepare-package-install echo "$(1)" >> $(PKG_INSTALL_STAMP) + else + $(if $(CONFIG_PACKAGE_$(1)),$$(warning WARNING: skipping $(1) -- package has no install section)) endif endif