From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 25 Jun 2026 21:24:18 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wcpgQ-009ooP-0I for lore@lore.pengutronix.de; Thu, 25 Jun 2026 21:24:18 +0200 Received: from [127.0.0.1] (helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1wcpgP-00022H-9j; Thu, 25 Jun 2026 21:24:17 +0200 Received: from mx1.white.stw.pengutronix.de ([2a0a:edc0:0:b01:1d::107]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1wcpfs-00089T-Sh for ptxdist@pengutronix.de; Thu, 25 Jun 2026 21:23:44 +0200 Received: from drehscheibe.grey.stw.pengutronix.de (drehscheibe.grey.stw.pengutronix.de [IPv6:2a0a:edc0:0:c01:1d::a2]) (Authenticated sender: relay-from-drehscheibe.grey.stw.pengutronix.de) by mx1.white.stw.pengutronix.de (Postfix) with ESMTPSA id CC4B42002FE; Thu, 25 Jun 2026 21:23:44 +0200 (CEST) Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wcpfs-004da5-2R; Thu, 25 Jun 2026 21:23:44 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.98.2) (envelope-from ) id 1wcpfs-00000003Uig-2y9l; Thu, 25 Jun 2026 21:23:44 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Thu, 25 Jun 2026 21:23:44 +0200 Message-ID: <20260625192344.833063-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260623131955.1037928-1-ada@thorsis.com> References: <20260623131955.1037928-1-ada@thorsis.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] at91bootstrap2: Add license information X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Alexander Dahl Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as b95fbd5be974eb2e23d56595e83f940025795d42. Michael [sent from post-receive hook] On Thu, 25 Jun 2026 21:23:44 +0200, Alexander Dahl 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 > Message-Id: <20260623131955.1037928-1-ada@thorsis.com> > Signed-off-by: Michael Olbrich > > 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