mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Tretter <m.tretter@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] cross-nasm: ignore license for !x86
Date: Tue, 22 Jun 2021 18:03:49 +0200	[thread overview]
Message-ID: <20210622160349.2084333-1-m.tretter@pengutronix.de> (raw)

The package is not build on !x86 systems, but the license still appears
in the license report as unknown.

Ignore the license, if the package is selected but not built.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
---
 rules/cross-nasm.make | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/rules/cross-nasm.make b/rules/cross-nasm.make
index 258d73af0f5a..2d6dbb0cab5c 100644
--- a/rules/cross-nasm.make
+++ b/rules/cross-nasm.make
@@ -37,6 +37,8 @@ CROSS_NASM_LICENSE_FILES := \
 CROSS_NASM_CONF_TOOL := autoconf
 CROSS_NASM_INSTALL_OPT := INSTALLROOT="$(CROSS_NASM_PKGDIR)" install
 
+else
+CROSS_NASM_LICENSE      := ignore
 endif
 
 # vim: syntax=make
-- 
2.29.2


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


             reply	other threads:[~2021-06-22 16:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-22 16:03 Michael Tretter [this message]
2021-06-29  5:09 ` [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=20210622160349.2084333-1-m.tretter@pengutronix.de \
    --to=m.tretter@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    --subject='Re: [ptxdist] [PATCH] cross-nasm: ignore license for '\!'x86' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox