From: Roland Hieber <rhi@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Roland Hieber <rhi@pengutronix.de>
Subject: [ptxdist] [PATCH] templates: add <PKG>_LICENSE_FILES variable where appropriate
Date: Mon, 28 Sep 2020 16:23:50 +0200 [thread overview]
Message-ID: <20200928142350.31523-1-rhi@pengutronix.de> (raw)
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
rules/templates/template-barebox-imx-habv4-make | 1 +
rules/templates/template-barebox-make | 1 +
rules/templates/template-class-make | 2 ++
rules/templates/template-file-make | 1 +
rules/templates/template-font-make | 1 +
rules/templates/template-kernel-make | 1 +
rules/templates/template-python3-make | 1 +
rules/templates/template-src-autoconf-make | 1 +
rules/templates/template-src-cmake-prog-make | 1 +
rules/templates/template-src-linux-driver-make | 1 +
rules/templates/template-src-make-prog-make | 1 +
rules/templates/template-src-qmake-prog-make | 1 +
rules/templates/template-src-stellaris-make | 1 +
rules/templates/template-target-make | 1 +
14 files changed, 15 insertions(+)
diff --git a/rules/templates/template-barebox-imx-habv4-make b/rules/templates/template-barebox-imx-habv4-make
index fe0853b0d962..65a755b0fa2d 100644
--- a/rules/templates/template-barebox-imx-habv4-make
+++ b/rules/templates/template-barebox-imx-habv4-make
@@ -25,6 +25,7 @@ BAREBOX_@PACKAGE@_DIR := $(BUILDDIR)/$(BAREBOX_@PACKAGE@)
BAREBOX_@PACKAGE@_BUILD_DIR := $(BAREBOX_@PACKAGE@_DIR)-build
BAREBOX_@PACKAGE@_CONFIG := $(call ptx/in-platformconfigdir, barebox-@package@.config.$(BAREBOX_@PACKAGE@_VERSION))
BAREBOX_@PACKAGE@_LICENSE := GPL-2.0-only
+BAREBOX_@PACKAGE@_LICENSE_FILES :=
BAREBOX_@PACKAGE@_BUILD_OOT := KEEP
# ----------------------------------------------------------------------------
diff --git a/rules/templates/template-barebox-make b/rules/templates/template-barebox-make
index 535317d316b9..c6d24467cd06 100644
--- a/rules/templates/template-barebox-make
+++ b/rules/templates/template-barebox-make
@@ -25,6 +25,7 @@ BAREBOX_@PACKAGE@_DIR := $(BUILDDIR)/$(BAREBOX_@PACKAGE@)
BAREBOX_@PACKAGE@_BUILD_DIR := $(BAREBOX_@PACKAGE@_DIR)-build
BAREBOX_@PACKAGE@_CONFIG := $(call ptx/in-platformconfigdir, barebox-@package@.config.$(BAREBOX_@PACKAGE@_VERSION))
BAREBOX_@PACKAGE@_LICENSE := GPL-2.0-only
+BAREBOX_@PACKAGE@_LICENSE_FILES :=
BAREBOX_@PACKAGE@_BUILD_OOT := KEEP
# ----------------------------------------------------------------------------
diff --git a/rules/templates/template-class-make b/rules/templates/template-class-make
index f4989e0dbe1a..205e0a10f795 100644
--- a/rules/templates/template-class-make
+++ b/rules/templates/template-class-make
@@ -21,6 +21,8 @@
@CLASS@@PACKAGE@_URL := @URL@/$(@CLASS@@PACKAGE@).$(@CLASS@@PACKAGE@_SUFFIX)
@CLASS@@PACKAGE@_SOURCE := $(SRCDIR)/$(@CLASS@@PACKAGE@).$(@CLASS@@PACKAGE@_SUFFIX)
@CLASS@@PACKAGE@_DIR := $(@CLASS@BUILDDIR)/$(@CLASS@@PACKAGE@)
+@CLASS@@PACKAGE@_LICENSE := unknown
+@CLASS@@PACKAGE@_LICENSE_FILES :=
# ----------------------------------------------------------------------------
# Get
diff --git a/rules/templates/template-file-make b/rules/templates/template-file-make
index 6d9b4afd5d79..54268bdbc459 100644
--- a/rules/templates/template-file-make
+++ b/rules/templates/template-file-make
@@ -12,6 +12,7 @@
PACKAGES-$(PTXCONF_@PACKAGE@) += @package@
@PACKAGE@_VERSION := @VERSION@
+@PACKAGE@_LICENSE := unknown
# ----------------------------------------------------------------------------
# Get
diff --git a/rules/templates/template-font-make b/rules/templates/template-font-make
index 4d56b0517c51..13a59041b9f6 100644
--- a/rules/templates/template-font-make
+++ b/rules/templates/template-font-make
@@ -22,6 +22,7 @@ PACKAGES-$(PTXCONF_@PACKAGE@) += @package@
@PACKAGE@_SOURCE := $(SRCDIR)/$(@PACKAGE@).$(@PACKAGE@_SUFFIX)
@PACKAGE@_DIR := $(BUILDDIR)/$(@PACKAGE@)
@PACKAGE@_LICENSE := unknown
+@PACKAGE@_LICENSE_FILES :=
ifdef PTXCONF_@PACKAGE@
$(STATEDIR)/xorg-fonts.targetinstall.post: $(STATEDIR)/@package@.targetinstall
diff --git a/rules/templates/template-kernel-make b/rules/templates/template-kernel-make
index e9d2df825824..8f28330a967e 100644
--- a/rules/templates/template-kernel-make
+++ b/rules/templates/template-kernel-make
@@ -25,6 +25,7 @@ KERNEL_@PACKAGE@_DIR := $(BUILDDIR)/$(KERNEL_@PACKAGE@)
KERNEL_@PACKAGE@_BUILD_DIR := $(KERNEL_@PACKAGE@_DIR)-build
KERNEL_@PACKAGE@_CONFIG := $(call ptx/in-platformconfigdir, kernelconfig-@package@)
KERNEL_@PACKAGE@_LICENSE := GPL-2.0-only
+KERNEL_@PACKAGE@_LICENSE_FILES :=
KERNEL_@PACKAGE@_BUILD_OOT := KEEP
# ----------------------------------------------------------------------------
diff --git a/rules/templates/template-python3-make b/rules/templates/template-python3-make
index bed25ea2eb93..90884a2d8107 100644
--- a/rules/templates/template-python3-make
+++ b/rules/templates/template-python3-make
@@ -22,6 +22,7 @@ PYTHON3_@PACKAGE@_URL := @URL@
PYTHON3_@PACKAGE@_SOURCE := $(SRCDIR)/$(PYTHON3_@PACKAGE@).$(PYTHON3_@PACKAGE@_SUFFIX)
PYTHON3_@PACKAGE@_DIR := $(BUILDDIR)/$(PYTHON3_@PACKAGE@)
PYTHON3_@PACKAGE@_LICENSE := unknown
+PYTHON3_@PACKAGE@_LICENSE_FILES :=
# ----------------------------------------------------------------------------
# Prepare
diff --git a/rules/templates/template-src-autoconf-make b/rules/templates/template-src-autoconf-make
index 573acad03029..d8d61988b640 100644
--- a/rules/templates/template-src-autoconf-make
+++ b/rules/templates/template-src-autoconf-make
@@ -20,6 +20,7 @@ PACKAGES-$(PTXCONF_@PACKAGE@) += @package@
@PACKAGE@_DIR := $(BUILDDIR)/$(@PACKAGE@)
@PACKAGE@_BUILD_OOT := YES
@PACKAGE@_LICENSE := unknown
+@PACKAGE@_LICENSE_FILES :=
# ----------------------------------------------------------------------------
# Prepare
diff --git a/rules/templates/template-src-cmake-prog-make b/rules/templates/template-src-cmake-prog-make
index cc47ca49ebaa..9d724f21b41c 100644
--- a/rules/templates/template-src-cmake-prog-make
+++ b/rules/templates/template-src-cmake-prog-make
@@ -19,6 +19,7 @@ PACKAGES-$(PTXCONF_@PACKAGE@) += @package@
@PACKAGE@_URL := file://local_src/@package@
@PACKAGE@_DIR := $(BUILDDIR)/$(@PACKAGE@)
@PACKAGE@_LICENSE := unknown
+@PACKAGE@_LICENSE_FILES :=
# ----------------------------------------------------------------------------
# Get
diff --git a/rules/templates/template-src-linux-driver-make b/rules/templates/template-src-linux-driver-make
index 61a82c283a0e..144f14d8e1ff 100644
--- a/rules/templates/template-src-linux-driver-make
+++ b/rules/templates/template-src-linux-driver-make
@@ -19,6 +19,7 @@ PACKAGES-$(PTXCONF_@PACKAGE@) += @package@
@PACKAGE@_URL := lndir://local_src/@package@
@PACKAGE@_DIR := $(BUILDDIR)/$(@PACKAGE@)
@PACKAGE@_LICENSE := unknown
+@PACKAGE@_LICENSE_FILES :=
ifneq ($(filter $(if $(PTX_COLLECTION),y,y m),$(PTXCONF_@PACKAGE@)),)
$(STATEDIR)/kernel.targetinstall.post: $(STATEDIR)/@package@.targetinstall
diff --git a/rules/templates/template-src-make-prog-make b/rules/templates/template-src-make-prog-make
index c38993973cc2..50957c0f83ee 100644
--- a/rules/templates/template-src-make-prog-make
+++ b/rules/templates/template-src-make-prog-make
@@ -19,6 +19,7 @@ PACKAGES-$(PTXCONF_@PACKAGE@) += @package@
@PACKAGE@_URL := file://local_src/@package@
@PACKAGE@_DIR := $(BUILDDIR)/$(@PACKAGE@)
@PACKAGE@_LICENSE := unknown
+@PACKAGE@_LICENSE_FILES :=
# ----------------------------------------------------------------------------
# Extract
diff --git a/rules/templates/template-src-qmake-prog-make b/rules/templates/template-src-qmake-prog-make
index 142a1d0399f3..13f312e1e621 100644
--- a/rules/templates/template-src-qmake-prog-make
+++ b/rules/templates/template-src-qmake-prog-make
@@ -20,6 +20,7 @@ PACKAGES-$(PTXCONF_@PACKAGE@) += @package@
@PACKAGE@_DIR := $(BUILDDIR)/$(@PACKAGE@)
@PACKAGE@_BUILD_OOT := YES
@PACKAGE@_LICENSE := unknown
+@PACKAGE@_LICENSE_FILES :=
# ----------------------------------------------------------------------------
# Get
diff --git a/rules/templates/template-src-stellaris-make b/rules/templates/template-src-stellaris-make
index 436a8a69505f..e5943f68edea 100644
--- a/rules/templates/template-src-stellaris-make
+++ b/rules/templates/template-src-stellaris-make
@@ -31,6 +31,7 @@ endif
@PACKAGE@_DIR := $(BUILDDIR)/$(@PACKAGE@)
@PACKAGE@_BUILD_OOT := YES
@PACKAGE@_LICENSE := unknown
+@PACKAGE@_LICENSE_FILES :=
# ----------------------------------------------------------------------------
# Prepare
diff --git a/rules/templates/template-target-make b/rules/templates/template-target-make
index 16baf70b30e9..1a0f9e2e65a2 100644
--- a/rules/templates/template-target-make
+++ b/rules/templates/template-target-make
@@ -22,6 +22,7 @@ PACKAGES-$(PTXCONF_@PACKAGE@) += @package@
@PACKAGE@_SOURCE := $(SRCDIR)/$(@PACKAGE@).$(@PACKAGE@_SUFFIX)
@PACKAGE@_DIR := $(BUILDDIR)/$(@PACKAGE@)
@PACKAGE@_LICENSE := unknown
+@PACKAGE@_LICENSE_FILES :=
# ----------------------------------------------------------------------------
# Get
--
2.28.0
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
next reply other threads:[~2020-09-28 14:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-28 14:23 Roland Hieber [this message]
2020-10-14 10:30 ` [ptxdist] [APPLIED] " Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200928142350.31523-1-rhi@pengutronix.de \
--to=rhi@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox