Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 0/3] Caring at91bootstrap3
@ 2015-06-02  8:46 Angelo Compagnucci
  2015-06-02  8:46 ` [Buildroot] [PATCH v2 1/3] boot/at91bootstrap3: add license information Angelo Compagnucci
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Angelo Compagnucci @ 2015-06-02  8:46 UTC (permalink / raw)
  To: buildroot

This patch series:
* Add license information to at91bootstrap
* Bumps to v3.7.2
* Adds the option to download via git from custom url

Angelo Compagnucci (3):
  boot/at91bootstrap3: add license information
  boot/at91bootstrap3: bump to version 3.7.2
  boot/at91bootstrap3: download via custom git url

 boot/at91bootstrap3/Config.in         | 34 ++++++++++++++++++++++++++++++++++
 boot/at91bootstrap3/at91bootstrap3.mk | 21 ++++++++++++++++++++-
 2 files changed, 54 insertions(+), 1 deletion(-)

-- 
2.4.2

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH v2 1/3] boot/at91bootstrap3: add license information
  2015-06-02  8:46 [Buildroot] [PATCH v2 0/3] Caring at91bootstrap3 Angelo Compagnucci
@ 2015-06-02  8:46 ` Angelo Compagnucci
  2015-06-02 21:04   ` Alexandre Belloni
  2015-06-15 14:18   ` Thomas Petazzoni
  2015-06-02  8:46 ` [Buildroot] [PATCH v2 2/3] boot/at91bootstrap3: bump to version 3.7.2 Angelo Compagnucci
  2015-06-02  8:46 ` [Buildroot] [PATCH v2 3/3] boot/at91bootstrap3: download via custom git url Angelo Compagnucci
  2 siblings, 2 replies; 9+ messages in thread
From: Angelo Compagnucci @ 2015-06-02  8:46 UTC (permalink / raw)
  To: buildroot

This patch adds licensing informations to at91bootstrap3

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
---
Changes v1 -> v2:
 - Fixed license with a more appropriate one

 boot/at91bootstrap3/at91bootstrap3.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/boot/at91bootstrap3/at91bootstrap3.mk b/boot/at91bootstrap3/at91bootstrap3.mk
index ff49e14..a997152 100644
--- a/boot/at91bootstrap3/at91bootstrap3.mk
+++ b/boot/at91bootstrap3/at91bootstrap3.mk
@@ -6,6 +6,8 @@
 
 AT91BOOTSTRAP3_VERSION = v3.7.1
 AT91BOOTSTRAP3_SITE = $(call github,linux4sam,at91bootstrap,$(AT91BOOTSTRAP3_VERSION))
+AT91BOOTSTRAP3_LICENSE = BSD-2c with endorsement clause
+AT91BOOTSTRAP3_LICENSE_FILES = main.c
 
 AT91BOOTSTRAP3_INSTALL_IMAGES = YES
 AT91BOOTSTRAP3_INSTALL_TARGET = NO
-- 
2.4.2

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH v2 2/3] boot/at91bootstrap3: bump to version 3.7.2
  2015-06-02  8:46 [Buildroot] [PATCH v2 0/3] Caring at91bootstrap3 Angelo Compagnucci
  2015-06-02  8:46 ` [Buildroot] [PATCH v2 1/3] boot/at91bootstrap3: add license information Angelo Compagnucci
@ 2015-06-02  8:46 ` Angelo Compagnucci
  2015-06-15 14:18   ` Thomas Petazzoni
  2015-06-02  8:46 ` [Buildroot] [PATCH v2 3/3] boot/at91bootstrap3: download via custom git url Angelo Compagnucci
  2 siblings, 1 reply; 9+ messages in thread
From: Angelo Compagnucci @ 2015-06-02  8:46 UTC (permalink / raw)
  To: buildroot

This patch bumps at91bootstrap3 version to 3.7.2

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
---
Changes v1 -> v2:
 - No changes

 boot/at91bootstrap3/at91bootstrap3.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/boot/at91bootstrap3/at91bootstrap3.mk b/boot/at91bootstrap3/at91bootstrap3.mk
index a997152..2e25617 100644
--- a/boot/at91bootstrap3/at91bootstrap3.mk
+++ b/boot/at91bootstrap3/at91bootstrap3.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-AT91BOOTSTRAP3_VERSION = v3.7.1
+AT91BOOTSTRAP3_VERSION = v3.7.2
 AT91BOOTSTRAP3_SITE = $(call github,linux4sam,at91bootstrap,$(AT91BOOTSTRAP3_VERSION))
 AT91BOOTSTRAP3_LICENSE = BSD-2c with endorsement clause
 AT91BOOTSTRAP3_LICENSE_FILES = main.c
-- 
2.4.2

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH v2 3/3] boot/at91bootstrap3: download via custom git url
  2015-06-02  8:46 [Buildroot] [PATCH v2 0/3] Caring at91bootstrap3 Angelo Compagnucci
  2015-06-02  8:46 ` [Buildroot] [PATCH v2 1/3] boot/at91bootstrap3: add license information Angelo Compagnucci
  2015-06-02  8:46 ` [Buildroot] [PATCH v2 2/3] boot/at91bootstrap3: bump to version 3.7.2 Angelo Compagnucci
@ 2015-06-02  8:46 ` Angelo Compagnucci
  2015-06-15 14:18   ` Thomas Petazzoni
  2 siblings, 1 reply; 9+ messages in thread
From: Angelo Compagnucci @ 2015-06-02  8:46 UTC (permalink / raw)
  To: buildroot

This patch adds the option to download at91bootstrap3 from
a custom git URL. This is a requirement for all that boards
that use a custom at91bootstrap3 version.

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
---
Changes v1 -> v2:
 - Adding error handling for BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL and
   BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION

 boot/at91bootstrap3/Config.in         | 34 ++++++++++++++++++++++++++++++++++
 boot/at91bootstrap3/at91bootstrap3.mk | 19 ++++++++++++++++++-
 2 files changed, 52 insertions(+), 1 deletion(-)

diff --git a/boot/at91bootstrap3/Config.in b/boot/at91bootstrap3/Config.in
index 8ac40ed..9f2f49b 100644
--- a/boot/at91bootstrap3/Config.in
+++ b/boot/at91bootstrap3/Config.in
@@ -10,6 +10,40 @@ config BR2_TARGET_AT91BOOTSTRAP3
 
 if BR2_TARGET_AT91BOOTSTRAP3
 
+choice
+
+	prompt "AT91 Bootstrap 3 version"
+
+config BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION
+	bool "3.7.2"
+
+config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT
+	bool "Custom Git repository"
+	help
+	  This option allows Buildroot to get the AT91 Bootstrap 3 source
+	  code from a Git repository.
+
+endchoice
+
+if BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT
+
+config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL
+	string "URL of custom repository"
+
+config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION
+	string "Custom repository version"
+	help
+	  Revision to use in the typical format used by Git
+	  E.G. a sha id, a tag, branch, ..
+
+endif
+
+config BR2_TARGET_AT91BOOTSTRAP3_VERSION
+	string
+	default "v3.7.2" if BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION
+	default BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION \
+		if BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT
+
 config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_PATCH_DIR
 	string "custom patch dir"
 	help
diff --git a/boot/at91bootstrap3/at91bootstrap3.mk b/boot/at91bootstrap3/at91bootstrap3.mk
index 2e25617..c045261 100644
--- a/boot/at91bootstrap3/at91bootstrap3.mk
+++ b/boot/at91bootstrap3/at91bootstrap3.mk
@@ -4,8 +4,15 @@
 #
 ################################################################################
 
-AT91BOOTSTRAP3_VERSION = v3.7.2
+AT91BOOTSTRAP3_VERSION = $(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_VERSION))
+
+ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT),y)
+AT91BOOTSTRAP3_SITE = $(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL))
+AT91BOOTSTRAP3_SITE_METHOD = git
+else
 AT91BOOTSTRAP3_SITE = $(call github,linux4sam,at91bootstrap,$(AT91BOOTSTRAP3_VERSION))
+endif
+
 AT91BOOTSTRAP3_LICENSE = BSD-2c with endorsement clause
 AT91BOOTSTRAP3_LICENSE_FILES = main.c
 
@@ -57,4 +64,14 @@ ifeq ($(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_CONFIG_FILE)),)
 $(error No at91bootstrap3 configuration file specified, check your BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_CONFIG_FILE setting)
 endif
 endif
+
+ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT),y)
+ifeq ($(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL)),)
+$(error No custom at91bootstrap3 repository URL specified. Check your BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL setting)
+endif
+ifeq ($(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION)),)
+$(error No custom at91bootstrap3 repository version specified. Check your BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION setting)
+endif
+endif
+
 endif
-- 
2.4.2

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH v2 1/3] boot/at91bootstrap3: add license information
  2015-06-02  8:46 ` [Buildroot] [PATCH v2 1/3] boot/at91bootstrap3: add license information Angelo Compagnucci
@ 2015-06-02 21:04   ` Alexandre Belloni
  2015-06-15 14:18   ` Thomas Petazzoni
  1 sibling, 0 replies; 9+ messages in thread
From: Alexandre Belloni @ 2015-06-02 21:04 UTC (permalink / raw)
  To: buildroot

On 02/06/2015 at 10:46:18 +0200, Angelo Compagnucci wrote :
> This patch adds licensing informations to at91bootstrap3
> 
> Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
> ---
> Changes v1 -> v2:
>  - Fixed license with a more appropriate one
> 
>  boot/at91bootstrap3/at91bootstrap3.mk | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/boot/at91bootstrap3/at91bootstrap3.mk b/boot/at91bootstrap3/at91bootstrap3.mk
> index ff49e14..a997152 100644
> --- a/boot/at91bootstrap3/at91bootstrap3.mk
> +++ b/boot/at91bootstrap3/at91bootstrap3.mk
> @@ -6,6 +6,8 @@
>  
>  AT91BOOTSTRAP3_VERSION = v3.7.1
>  AT91BOOTSTRAP3_SITE = $(call github,linux4sam,at91bootstrap,$(AT91BOOTSTRAP3_VERSION))
> +AT91BOOTSTRAP3_LICENSE = BSD-2c with endorsement clause

I know I'm late to the party but this is actually a non endorsement
clause.


-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH v2 1/3] boot/at91bootstrap3: add license information
  2015-06-02  8:46 ` [Buildroot] [PATCH v2 1/3] boot/at91bootstrap3: add license information Angelo Compagnucci
  2015-06-02 21:04   ` Alexandre Belloni
@ 2015-06-15 14:18   ` Thomas Petazzoni
  1 sibling, 0 replies; 9+ messages in thread
From: Thomas Petazzoni @ 2015-06-15 14:18 UTC (permalink / raw)
  To: buildroot

Dear Angelo Compagnucci,

On Tue,  2 Jun 2015 10:46:18 +0200, Angelo Compagnucci wrote:

>  AT91BOOTSTRAP3_VERSION = v3.7.1
>  AT91BOOTSTRAP3_SITE = $(call github,linux4sam,at91bootstrap,$(AT91BOOTSTRAP3_VERSION))
> +AT91BOOTSTRAP3_LICENSE = BSD-2c with endorsement clause
> +AT91BOOTSTRAP3_LICENSE_FILES = main.c

The license is neither a BSD-2c nor a BSD-3c, so I changed that to
"Atmel License", like Yocto is doing, after a suggestion from Alexandre
Belloni. Applied after doing this change.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH v2 2/3] boot/at91bootstrap3: bump to version 3.7.2
  2015-06-02  8:46 ` [Buildroot] [PATCH v2 2/3] boot/at91bootstrap3: bump to version 3.7.2 Angelo Compagnucci
@ 2015-06-15 14:18   ` Thomas Petazzoni
  0 siblings, 0 replies; 9+ messages in thread
From: Thomas Petazzoni @ 2015-06-15 14:18 UTC (permalink / raw)
  To: buildroot

Dear Angelo Compagnucci,

On Tue,  2 Jun 2015 10:46:19 +0200, Angelo Compagnucci wrote:
> This patch bumps at91bootstrap3 version to 3.7.2
> 
> Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
> ---
> Changes v1 -> v2:
>  - No changes

Applied, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH v2 3/3] boot/at91bootstrap3: download via custom git url
  2015-06-02  8:46 ` [Buildroot] [PATCH v2 3/3] boot/at91bootstrap3: download via custom git url Angelo Compagnucci
@ 2015-06-15 14:18   ` Thomas Petazzoni
  2015-06-15 14:29     ` Angelo Compagnucci
  0 siblings, 1 reply; 9+ messages in thread
From: Thomas Petazzoni @ 2015-06-15 14:18 UTC (permalink / raw)
  To: buildroot

Dear Angelo Compagnucci,

On Tue,  2 Jun 2015 10:46:20 +0200, Angelo Compagnucci wrote:
> This patch adds the option to download at91bootstrap3 from
> a custom git URL. This is a requirement for all that boards
> that use a custom at91bootstrap3 version.
> 
> Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
> ---
> Changes v1 -> v2:
>  - Adding error handling for BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL and
>    BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION

Applied, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH v2 3/3] boot/at91bootstrap3: download via custom git url
  2015-06-15 14:18   ` Thomas Petazzoni
@ 2015-06-15 14:29     ` Angelo Compagnucci
  0 siblings, 0 replies; 9+ messages in thread
From: Angelo Compagnucci @ 2015-06-15 14:29 UTC (permalink / raw)
  To: buildroot

Dear Thomas Petazzoni,

2015-06-15 16:18 GMT+02:00 Thomas Petazzoni
<thomas.petazzoni@free-electrons.com>:
> Dear Angelo Compagnucci,
>
> On Tue,  2 Jun 2015 10:46:20 +0200, Angelo Compagnucci wrote:
>> This patch adds the option to download at91bootstrap3 from
>> a custom git URL. This is a requirement for all that boards
>> that use a custom at91bootstrap3 version.
>>
>> Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
>> ---
>> Changes v1 -> v2:
>>  - Adding error handling for BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL and
>>    BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION
>
> Applied, thanks.

A really big and appreciated thank you!

>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux, Kernel and Android engineering
> http://free-electrons.com



-- 
Profile: http://it.linkedin.com/in/compagnucciangelo

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-06-15 14:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-02  8:46 [Buildroot] [PATCH v2 0/3] Caring at91bootstrap3 Angelo Compagnucci
2015-06-02  8:46 ` [Buildroot] [PATCH v2 1/3] boot/at91bootstrap3: add license information Angelo Compagnucci
2015-06-02 21:04   ` Alexandre Belloni
2015-06-15 14:18   ` Thomas Petazzoni
2015-06-02  8:46 ` [Buildroot] [PATCH v2 2/3] boot/at91bootstrap3: bump to version 3.7.2 Angelo Compagnucci
2015-06-15 14:18   ` Thomas Petazzoni
2015-06-02  8:46 ` [Buildroot] [PATCH v2 3/3] boot/at91bootstrap3: download via custom git url Angelo Compagnucci
2015-06-15 14:18   ` Thomas Petazzoni
2015-06-15 14:29     ` Angelo Compagnucci

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