diff options
author | Michael Heimpold <mhei@heimpold.de> | 2017-10-31 21:29:50 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2017-11-25 20:02:04 +0100 |
commit | 2cb75cd8b9d451bde0cfffce80fa67d58944c44b (patch) | |
tree | d6d164cbdad1411c62a318dd8af08e17188386f5 /include/package-defaults.mk | |
parent | 40868e3bb6d81510425673d693a8d3abcc4193f7 (diff) | |
download | upstream-2cb75cd8b9d451bde0cfffce80fa67d58944c44b.tar.gz upstream-2cb75cd8b9d451bde0cfffce80fa67d58944c44b.tar.bz2 upstream-2cb75cd8b9d451bde0cfffce80fa67d58944c44b.zip |
build: allow defining license information per binary package
At the moment, license information can only be specified on a
"per source package" level while other metadata fields (e.g. maintainer)
can be given for each binary package. Apply the same logic for license
fields as well. This can be used e.g. in cases where a library is
distributed under some license while related tools are distributed
under a different one.
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Diffstat (limited to 'include/package-defaults.mk')
-rw-r--r-- | include/package-defaults.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/package-defaults.mk b/include/package-defaults.mk index 0eecd6c4f8..0bca076e72 100644 --- a/include/package-defaults.mk +++ b/include/package-defaults.mk @@ -57,6 +57,8 @@ define Package/Default DEFAULT_VARIANT:= USERID:= ALTERNATIVES:= + LICENSE:=$(PKG_LICENSE) + LICENSE_FILES:=$(PKG_LICENSE_FILES) endef Build/Patch:=$(Build/Patch/Default) |