summaryrefslogtreecommitdiff
path: root/include/package-defaults.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-10-08 11:40:57 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-10-08 11:40:57 +0000
commit2d7eaf2e15aa77bcf526b7ea9747732b35194b2e (patch)
tree9aa0024bc3152690b4742293bb83e448d3f7dc05 /include/package-defaults.mk
parent48db59fab785ce881e154d83115de86d284fce5d (diff)
downloadmtk-20170518-2d7eaf2e15aa77bcf526b7ea9747732b35194b2e.zip
mtk-20170518-2d7eaf2e15aa77bcf526b7ea9747732b35194b2e.tar.gz
mtk-20170518-2d7eaf2e15aa77bcf526b7ea9747732b35194b2e.tar.bz2
build: allow the package maintainer info to be specified globally for a source package
SVN-Revision: 33659
Diffstat (limited to 'include/package-defaults.mk')
-rw-r--r--include/package-defaults.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/package-defaults.mk b/include/package-defaults.mk
index e2ce863..45a92cf 100644
--- a/include/package-defaults.mk
+++ b/include/package-defaults.mk
@@ -13,6 +13,8 @@ else
PKG_FIXUP_DEPENDS = $(2)
endif
+PKG_MAINTAINER ?= OpenWrt Developers Team <openwrt-devel@openwrt.org>
+
define Package/Default
CONFIGFILE:=
SECTION:=opt
@@ -21,7 +23,7 @@ define Package/Default
MDEPENDS:=
PROVIDES:=
EXTRA_DEPENDS:=
- MAINTAINER:=OpenWrt Developers Team <openwrt-devel@openwrt.org>
+ MAINTAINER:=$(PKG_MAINTAINER)
SOURCE:=$(patsubst $(TOPDIR)/%,%,$(CURDIR))
ifneq ($(PKG_VERSION),)
ifneq ($(PKG_RELEASE),)