From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/4] legal-info: save license files even for no-redistribute packages
Date: Tue, 18 Mar 2014 21:28:22 +0100 [thread overview]
Message-ID: <20140318202822.GB26810@free.fr> (raw)
In-Reply-To: <532887A9.3010901@lucaceresoli.net>
Luca, All,
On 2014-03-18 18:51 +0100, Luca Ceresoli spake thusly:
> Yann E. MORIN wrote:
> >From: "Yann E. MORIN" <yann.morin.1998@free.fr>
> >The reason to save license files even for no-redistribute packages
> >is that the license still applies to the files distributed as part
> >of the rootfs, even if the sources are not themselves redistributed.
[--SNIP--]
> I like this change in general, but I have another minor nit here.
>
> You moved code out of the big
> ifneq ($(call qstrip,$$($(2)_SOURCE)),)
> cited above.
>
> So we're now doing stuff also for packages that are part of Buildroot.
>
> Assuming these will never have _LICENSE_FILES defined, which is fair,
> we not have one more warning:
> WARNING: toolchain: cannot save license (TOOLCHAIN_LICENSE_FILES \
> not defined)
Ah, I see. 'toolchain' is a special package, indeed, and will probably
never have a _LICENSE_FILES defined.
What I think is we should not fo:
ifeq ($$($(2)_LICENSE_FILES),)
but probably:
ifeq ($$(origin $(2)_LICENSE_FILES),undefined)
And then:
TOOLCHAIN_LICENS_FILES =
Which means that TOOLCHAIN_LICENSE_FILES *is* defined. Empty, but
defined nonetheless.
In which case, a defined but empty _LICENSE_FILES meanns: no license
file to deal with.
> Probably that ifneq should be moved just before the part of code you're
> moving up, but that should be checked carefully.
>
> If you feel like this bunch of lines are an annoying mess to handle, I'm
> with you.
OK, I'll see what I can do about that.
Thanks for the review! :-)
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2014-03-18 20:28 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-17 23:04 [Buildroot] [PATCH 0/4 v4] legal-info: extract packages to get license files (branch yem/legal) Yann E. MORIN
2014-03-17 23:04 ` [Buildroot] [PATCH 1/4] legal-info: extract even no-redistribute packages Yann E. MORIN
2014-03-18 17:36 ` Luca Ceresoli
2014-03-18 17:47 ` Yann E. MORIN
2014-03-18 18:29 ` Thomas Petazzoni
2014-03-17 23:04 ` [Buildroot] [PATCH 2/4] legal-info: save license files even for " Yann E. MORIN
2014-03-18 17:51 ` Luca Ceresoli
2014-03-18 20:28 ` Yann E. MORIN [this message]
2014-03-17 23:04 ` [Buildroot] [PATCH 3/4] legal-info: add a comment about what packages we save the tarballs of Yann E. MORIN
2014-03-17 23:04 ` [Buildroot] [PATCH 4/4] legal-info: rename legal-warning-pkg-savednothing helper Yann E. MORIN
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=20140318202822.GB26810@free.fr \
--to=yann.morin.1998@free.fr \
--cc=buildroot@busybox.net \
/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