Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] uboot: bump to version 2017.07
@ 2017-07-12 19:29 Jörg Krause
  2017-07-13  7:44 ` Thomas Petazzoni
  2017-07-21 20:46 ` Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Jörg Krause @ 2017-07-12 19:29 UTC (permalink / raw)
  To: buildroot

Add a new config option BR2_TARGET_UBOOT_NEEDS_PYLIBFDT for U-Boot
targets, like sunxi, needing the Python libfdt library.

Signed-off-by: J?rg Krause <joerg.krause@embedded.rocks>
---
 boot/uboot/Config.in  | 12 ++++++++++--
 boot/uboot/uboot.hash |  2 +-
 boot/uboot/uboot.mk   |  4 ++++
 3 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/boot/uboot/Config.in b/boot/uboot/Config.in
index 52f3a326c6..ec77791fad 100644
--- a/boot/uboot/Config.in
+++ b/boot/uboot/Config.in
@@ -38,7 +38,7 @@ choice
 	  Select the specific U-Boot version you want to use
 
 config BR2_TARGET_UBOOT_LATEST_VERSION
-	bool "2017.05"
+	bool "2017.07"
 
 config BR2_TARGET_UBOOT_CUSTOM_VERSION
 	bool "Custom version"
@@ -86,7 +86,7 @@ endif
 
 config BR2_TARGET_UBOOT_VERSION
 	string
-	default "2017.05"	if BR2_TARGET_UBOOT_LATEST_VERSION
+	default "2017.07"	if BR2_TARGET_UBOOT_LATEST_VERSION
 	default BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE \
 		if BR2_TARGET_UBOOT_CUSTOM_VERSION
 	default "custom"	if BR2_TARGET_UBOOT_CUSTOM_TARBALL
@@ -138,6 +138,14 @@ config BR2_TARGET_UBOOT_NEEDS_DTC
 	  Select this option if your U-Boot board configuration
 	  requires the Device Tree compiler to be available.
 
+config BR2_TARGET_UBOOT_NEEDS_PYLIBFDT
+	bool "U-Boot needs pylibfdt"
+	select BR2_PACKAGE_HOST_PYTHON
+	select BR2_PACKAGE_HOST_SWIG
+	help
+	  Select this option if your U-Boot board configuration
+	  requires the Python libfdt library to be available.
+
 config BR2_TARGET_UBOOT_NEEDS_OPENSSL
 	bool "U-Boot needs OpenSSL"
 	help
diff --git a/boot/uboot/uboot.hash b/boot/uboot/uboot.hash
index e11d92ff15..3ba8e34ba0 100644
--- a/boot/uboot/uboot.hash
+++ b/boot/uboot/uboot.hash
@@ -1,2 +1,2 @@
 # Locally computed:
-sha256  c8373949d7f0de1059e507b83a655d4cea539f75dc66ccdbb27adbd38d83095e  u-boot-2017.05.tar.bz2
+sha256  5374bfdc8acb9a38c025371b1ff20f45e7533668e84e685d0df5d9e7c0e4feff  u-boot-2017.07.tar.bz2
diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk
index 73d72630b2..14a8cc949a 100644
--- a/boot/uboot/uboot.mk
+++ b/boot/uboot/uboot.mk
@@ -138,6 +138,10 @@ ifeq ($(BR2_TARGET_UBOOT_NEEDS_DTC),y)
 UBOOT_DEPENDENCIES += host-dtc
 endif
 
+ifeq ($(BR2_TARGET_UBOOT_NEEDS_PYLIBFDT),y)
+UBOOT_DEPENDENCIES += host-python host-swig
+endif
+
 ifeq ($(BR2_TARGET_UBOOT_NEEDS_OPENSSL),y)
 UBOOT_DEPENDENCIES += host-openssl
 endif
-- 
2.13.2

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

* [Buildroot] [PATCH] uboot: bump to version 2017.07
  2017-07-12 19:29 [Buildroot] [PATCH] uboot: bump to version 2017.07 Jörg Krause
@ 2017-07-13  7:44 ` Thomas Petazzoni
  2017-07-21 20:46 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2017-07-13  7:44 UTC (permalink / raw)
  To: buildroot

Hello,

On Wed, 12 Jul 2017 21:29:03 +0200, J?rg Krause wrote:

> +config BR2_TARGET_UBOOT_NEEDS_PYLIBFDT
> +	bool "U-Boot needs pylibfdt"
> +	select BR2_PACKAGE_HOST_PYTHON
> +	select BR2_PACKAGE_HOST_SWIG

Can be fixed when applying (no need to respin just for that): none of
those two options exist in Buildroot, so selecting them is useless.

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

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

* [Buildroot] [PATCH] uboot: bump to version 2017.07
  2017-07-12 19:29 [Buildroot] [PATCH] uboot: bump to version 2017.07 Jörg Krause
  2017-07-13  7:44 ` Thomas Petazzoni
@ 2017-07-21 20:46 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2017-07-21 20:46 UTC (permalink / raw)
  To: buildroot

Hello,

On Wed, 12 Jul 2017 21:29:03 +0200, J?rg Krause wrote:
> Add a new config option BR2_TARGET_UBOOT_NEEDS_PYLIBFDT for U-Boot
> targets, like sunxi, needing the Python libfdt library.
> 
> Signed-off-by: J?rg Krause <joerg.krause@embedded.rocks>
> ---
>  boot/uboot/Config.in  | 12 ++++++++++--
>  boot/uboot/uboot.hash |  2 +-
>  boot/uboot/uboot.mk   |  4 ++++
>  3 files changed, 15 insertions(+), 3 deletions(-)

Applied to master after dropping the bogus selects on HOST_PYTHON and
HOST_SWIG.

Thanks!

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

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

end of thread, other threads:[~2017-07-21 20:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-12 19:29 [Buildroot] [PATCH] uboot: bump to version 2017.07 Jörg Krause
2017-07-13  7:44 ` Thomas Petazzoni
2017-07-21 20:46 ` Thomas Petazzoni

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