summaryrefslogtreecommitdiff
path: root/package/mtd
diff options
context:
space:
mode:
authorHamish Guthrie <hcg@openwrt.org>2012-10-19 15:34:28 +0000
committerHamish Guthrie <hcg@openwrt.org>2012-10-19 15:34:28 +0000
commit81a3d9ba3104aab63e6b5b9725060f3267b8e4fe (patch)
tree991b512d8d4abc4b3bd3a3d9d0de97c9720b12d5 /package/mtd
parent5fb6cf9a111d544ae3d61815d5b5c4ac90af717c (diff)
downloadmtk-20170518-81a3d9ba3104aab63e6b5b9725060f3267b8e4fe.zip
mtk-20170518-81a3d9ba3104aab63e6b5b9725060f3267b8e4fe.tar.gz
mtk-20170518-81a3d9ba3104aab63e6b5b9725060f3267b8e4fe.tar.bz2
licensing: Add licensing metadata to many packages Two new variables are introduces to many packages, namely PKG_LICENSE and PKG_LICENSE_FILES - there may be more than one license applied to packages, and these are listed in the PKG_LICENSE variable and separated by spaces. All relevant license files are also added to the PKG_LICENSE_FILES variable, also space separated.
The licensing metadata is put into the bin/<platform>/packages/Packages file for later parsing. A script for that is on it's way! SVN-Revision: 33861
Diffstat (limited to 'package/mtd')
-rw-r--r--package/mtd/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/mtd/Makefile b/package/mtd/Makefile
index ec487e5..c6b94ff 100644
--- a/package/mtd/Makefile
+++ b/package/mtd/Makefile
@@ -14,6 +14,9 @@ PKG_RELEASE:=20
PKG_BUILD_DIR := $(KERNEL_BUILD_DIR)/$(PKG_NAME)
STAMP_PREPARED := $(STAMP_PREPARED)_$(call confvar,CONFIG_MTD_REDBOOT_PARTS)
+PKG_LICENSE:=GPLv2 GPLv2+
+PKG_LICENSE_FILES:=
+
include $(INCLUDE_DIR)/package.mk
define Package/mtd