From eb738f52750451fc1083f38f8c5cb77220e49d84 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Sun, 26 Oct 2014 16:57:33 +0000 Subject: generate list of license information for packages Many packages define already metadata about their license (PKG_LICENSE), but this is only included in the ipk files. This change allows to create the information also on the build-host, to get an overview on the used licenses. In the full list, also all packages without this info are shown Signed-off-by: Thomas Langer SVN-Revision: 43070 --- include/package-dumpinfo.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/package-dumpinfo.mk') diff --git a/include/package-dumpinfo.mk b/include/package-dumpinfo.mk index 26c8d3199d..b6e2f0f794 100644 --- a/include/package-dumpinfo.mk +++ b/include/package-dumpinfo.mk @@ -45,7 +45,9 @@ Title: $(TITLE) Maintainer: $(MAINTAINER) $(if $(USERID),Require-User: $(USERID) )Source: $(PKG_SOURCE) -Type: $(if $(Package/$(1)/targets),$(Package/$(1)/targets),$(if $(PKG_TARGETS),$(PKG_TARGETS),ipkg)) +$(if $(PKG_LICENSE),License: $(PKG_LICENSE) +)$(if $(PKG_LICENSE_FILES),LicenseFiles: $(PKG_LICENSE_FILES) +)Type: $(if $(Package/$(1)/targets),$(Package/$(1)/targets),$(if $(PKG_TARGETS),$(PKG_TARGETS),ipkg)) $(if $(KCONFIG),Kernel-Config: $(KCONFIG) )$(if $(BUILDONLY),Build-Only: $(BUILDONLY) )$(if $(HIDDEN),Hidden: $(HIDDEN) -- cgit v1.2.3