[Buildroot] [PATCH v2 7/7] at91bootstrap3: Add support for custom license files
Kory Maincent
kory.maincent at bootlin.com
Wed Oct 1 16:02:56 UTC 2025
On Wed, 1 Oct 2025 17:44:26 +0200
Edgar Bonet <bonet at grenoble.cnrs.fr> wrote:
> Hello everybody!
>
> On 01/10/2025, Kory Maincent wrote:
> > The AT91Bootstrap3 package was not providing any license file when a custom
> > Linux version was selected.
> >
> > Fix this by adding a Kconfig option to specify the license file,
> > with a default value set to the commonly used license paths.
> >
> > Signed-off-by: Kory Maincent <kory.maincent at bootlin.com>
> > ---
> >
> > Change in v2:
> > - Do not show license option if it is not a custom repo
> > ---
> > boot/at91bootstrap3/Config.in | 19 +++++++++++++++++++
> > boot/at91bootstrap3/at91bootstrap3.mk | 3 ++-
> > 2 files changed, 21 insertions(+), 1 deletion(-)
> >
> > diff --git a/boot/at91bootstrap3/Config.in b/boot/at91bootstrap3/Config.in
> > index
> > 35bdb28162beda956ff4ffd17772b491bf5f5ca0..987b5eb7efd3d845865d34afaca4f35ae5e88f80
> > 100644 --- a/boot/at91bootstrap3/Config.in +++
> > b/boot/at91bootstrap3/Config.in @@ -66,6 +66,25 @@ config
> > BR2_TARGET_AT91BOOTSTRAP3_VERSION if BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT
> > || BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_SVN default "custom" if
> > BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL
> > +config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_LICENSE_FILES
> > + string "AT91Bootstrap3 license files"
> > + default "LICENSES/MIT.txt"
> > + depends on BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT || \
> > + BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_SVN || \
> > + BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL
> > + help
> > + A space-separated list of license files related to the
> > + AT91Bootstrap3 kernel package.
>
> s/kernel package/package/
Oops indeed, thanks.
Regards
--
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com
More information about the buildroot
mailing list