Thanks, applied as b95fbd5be974eb2e23d56595e83f940025795d42.

Michael

[sent from post-receive hook]

On Thu, 25 Jun 2026 21:23:44 +0200, Alexander Dahl <[email protected]> wrote:
> Up to the last v3 release v3.10.4 from 2021 there is no global licensing
> statement in the source tree, but almost all files have a header
> matching the 'BSD-Source-Code' license (as with v1 and probably v2
> already).
> 
> For v4.0.0-rc4 Microchip (after buying Atmel) re-licensed the whole
> source tree to 'MIT' license.
> 
> Link: 
> https://github.com/linux4sam/at91bootstrap/commit/4a57b93f1e494ca984f0178516dec1b14d1e28fa
> Signed-off-by: Alexander Dahl <[email protected]>
> Message-Id: <[email protected]>
> Signed-off-by: Michael Olbrich <[email protected]>
> 
> diff --git a/platforms/at91bootstrap2.in b/platforms/at91bootstrap2.in
> index 0821f70a842f..33d87ea89408 100644
> --- a/platforms/at91bootstrap2.in
> +++ b/platforms/at91bootstrap2.in
> @@ -4,7 +4,7 @@ menuconfig AT91BOOTSTRAP2
>       select BOOTLOADER
>       select HOST_SYSTEM_PYTHON3
>       tristate
> -     prompt "AT91 bootstrap 3.x            "
> +     prompt "AT91 bootstrap 3.x / 4.x      "
>       help
>         Note: this is for AT91 bootstrap version 3.4 or later.
>  
> diff --git a/rules/at91bootstrap2.make b/rules/at91bootstrap2.make
> index 47eabce29183..3cac2e59e405 100644
> --- a/rules/at91bootstrap2.make
> +++ b/rules/at91bootstrap2.make
> @@ -23,7 +23,19 @@ AT91BOOTSTRAP2_SOURCE      := 
> $(SRCDIR)/$(AT91BOOTSTRAP2).$(AT91BOOTSTRAP2_SUFFIX)
>  AT91BOOTSTRAP2_DIR   := $(BUILDDIR)/$(AT91BOOTSTRAP2)
>  AT91BOOTSTRAP2_CONFIG        := $(call ptx/in-platformconfigdir, \
>               $(call remove_quotes, $(PTXCONF_AT91BOOTSTRAP2_CONFIG)))
> -AT91BOOTSTRAP2_LICENSE       := unknown
> +
> +AT91BOOTSTRAP2_VERSION_MAJOR := $(word 1,$(subst .,  
> ,$(AT91BOOTSTRAP2_VERSION)))
> +ifeq ($(AT91BOOTSTRAP2_VERSION_MAJOR),4)
> +AT91BOOTSTRAP2_LICENSE               := MIT
> +AT91BOOTSTRAP2_LICENSE_FILES := \
> +     file://LICENSES/MIT.txt;md5=12c44f58fe16bd407f016e45950c2f3d
> +else ifeq ($(AT91BOOTSTRAP2_VERSION_MAJOR),3)
> +AT91BOOTSTRAP2_LICENSE               := BSD-Source-Code
> +AT91BOOTSTRAP2_LICENSE_FILES := \
> +     
> file://main.c;startline=1;endline=27;md5=a2a70db58191379e2550cbed95449fbd
> +else
> +AT91BOOTSTRAP2_LICENSE               := unknown
> +endif
>  
>  # 
> ----------------------------------------------------------------------------
>  # Prepare

Reply via email to