configs: add pylibfdt where necessary

Message ID 20180211213451.2142-1-vincent.stehle@laposte.net
State Accepted
Headers show
Series
  • configs: add pylibfdt where necessary
Related show

Commit Message

Vincent Stehle Feb. 11, 2018, 9:34 p.m.
From: Vincent Stehlé <vincent.stehle@laposte.net>

Add TARGET_UBOOT_NEEDS_PYLIBFDT to all defconfigs, where u-boot needs
Python libfdt to build.

Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
Cc: Jagan Teki <jagan@amarulasolutions.com>
Cc: Mike Harmony <mike.harmony@snapav.com>
Cc: Sergey Matyukevich <geomatsi@gmail.com>
Cc: Jan Kraval <jan.kraval@gmail.com>
---
 configs/bananapi_m1_defconfig        | 1 +
 configs/bananapi_m2_plus_defconfig   | 1 +
 configs/linksprite_pcduino_defconfig | 1 +
 configs/orangepi_lite_defconfig      | 1 +
 configs/orangepi_one_defconfig       | 1 +
 configs/orangepi_pc_defconfig        | 1 +
 configs/orangepi_pc_plus_defconfig   | 1 +
 configs/orangepi_zero_defconfig      | 1 +
 8 files changed, 8 insertions(+)

Comments

Thomas Petazzoni Feb. 13, 2018, 10:19 p.m. | #1
Hello,

On Sun, 11 Feb 2018 22:34:51 +0100, Vincent Stehle wrote:
> From: Vincent Stehlé <vincent.stehle@laposte.net>
> 
> Add TARGET_UBOOT_NEEDS_PYLIBFDT to all defconfigs, where u-boot needs
> Python libfdt to build.
> 
> Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
> Cc: Jagan Teki <jagan@amarulasolutions.com>
> Cc: Mike Harmony <mike.harmony@snapav.com>
> Cc: Sergey Matyukevich <geomatsi@gmail.com>
> Cc: Jan Kraval <jan.kraval@gmail.com>
> ---
>  configs/bananapi_m1_defconfig        | 1 +
>  configs/bananapi_m2_plus_defconfig   | 1 +
>  configs/linksprite_pcduino_defconfig | 1 +
>  configs/orangepi_lite_defconfig      | 1 +
>  configs/orangepi_one_defconfig       | 1 +
>  configs/orangepi_pc_defconfig        | 1 +
>  configs/orangepi_pc_plus_defconfig   | 1 +
>  configs/orangepi_zero_defconfig      | 1 +
>  8 files changed, 8 insertions(+)

Applied to master, thanks.

Thomas
Sergey Matyukevich Feb. 14, 2018, 7:37 a.m. | #2
Hello,

> Add TARGET_UBOOT_NEEDS_PYLIBFDT to all defconfigs, where u-boot needs
> Python libfdt to build.
> 
> Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
> Cc: Jagan Teki <jagan@amarulasolutions.com>
> Cc: Mike Harmony <mike.harmony@snapav.com>
> Cc: Sergey Matyukevich <geomatsi@gmail.com>
> Cc: Jan Kraval <jan.kraval@gmail.com>
> ---
>  configs/bananapi_m1_defconfig        | 1 +
>  configs/bananapi_m2_plus_defconfig   | 1 +
>  configs/linksprite_pcduino_defconfig | 1 +
>  configs/orangepi_lite_defconfig      | 1 +
>  configs/orangepi_one_defconfig       | 1 +
>  configs/orangepi_pc_defconfig        | 1 +
>  configs/orangepi_pc_plus_defconfig   | 1 +
>  configs/orangepi_zero_defconfig      | 1 +
>  8 files changed, 8 insertions(+)

Thanks !

Tested-by: Sergey Matyukevich <geomatsi@gmail.com>

Actually I tested various build machine settings to check
why things used to work for me w/o this patch. It turns
out that this patch fixes build when swig is not installed
on the build machine.

Regards,
Sergey

Patch

diff --git a/configs/bananapi_m1_defconfig b/configs/bananapi_m1_defconfig
index b084309d7c..f8c66a3334 100644
--- a/configs/bananapi_m1_defconfig
+++ b/configs/bananapi_m1_defconfig
@@ -12,6 +12,7 @@  BR2_TARGET_UBOOT_CUSTOM_VERSION=y
 BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.09"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="Bananapi"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
+BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
 BR2_TARGET_UBOOT_FORMAT_BIN=y
 BR2_TARGET_UBOOT_SPL=y
 BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin"
diff --git a/configs/bananapi_m2_plus_defconfig b/configs/bananapi_m2_plus_defconfig
index ebaea2deab..bbc3eb0ebd 100644
--- a/configs/bananapi_m2_plus_defconfig
+++ b/configs/bananapi_m2_plus_defconfig
@@ -19,6 +19,7 @@  BR2_TARGET_UBOOT_CUSTOM_VERSION=y
 BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.07"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="Sinovoip_BPI_M2_Plus"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
+BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
 BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
 BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin"
 BR2_TARGET_UBOOT_BOOT_SCRIPT=y
diff --git a/configs/linksprite_pcduino_defconfig b/configs/linksprite_pcduino_defconfig
index 79e0939792..dd9bcdc1f7 100644
--- a/configs/linksprite_pcduino_defconfig
+++ b/configs/linksprite_pcduino_defconfig
@@ -41,6 +41,7 @@  BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.09"
 BR2_TARGET_UBOOT_USE_DEFCONFIG=y
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="Linksprite_pcDuino"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
+BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
 BR2_TARGET_UBOOT_FORMAT_BIN=y
 BR2_TARGET_UBOOT_SPL=y
 BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin"
diff --git a/configs/orangepi_lite_defconfig b/configs/orangepi_lite_defconfig
index 0f9a8e098b..1e5fca8677 100644
--- a/configs/orangepi_lite_defconfig
+++ b/configs/orangepi_lite_defconfig
@@ -24,6 +24,7 @@  BR2_TARGET_UBOOT_CUSTOM_VERSION=y
 BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.11"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_lite"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
+BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
 BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
 BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin"
 BR2_TARGET_UBOOT_BOOT_SCRIPT=y
diff --git a/configs/orangepi_one_defconfig b/configs/orangepi_one_defconfig
index 51f82054c5..3715f1ddbb 100644
--- a/configs/orangepi_one_defconfig
+++ b/configs/orangepi_one_defconfig
@@ -20,6 +20,7 @@  BR2_TARGET_UBOOT_CUSTOM_VERSION=y
 BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2018.01"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_one"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
+BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
 BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
 BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin"
 BR2_TARGET_UBOOT_BOOT_SCRIPT=y
diff --git a/configs/orangepi_pc_defconfig b/configs/orangepi_pc_defconfig
index 0fd90f008b..aa559e743e 100644
--- a/configs/orangepi_pc_defconfig
+++ b/configs/orangepi_pc_defconfig
@@ -20,6 +20,7 @@  BR2_TARGET_UBOOT_CUSTOM_VERSION=y
 BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2018.01"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_pc"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
+BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
 BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
 BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin"
 BR2_TARGET_UBOOT_BOOT_SCRIPT=y
diff --git a/configs/orangepi_pc_plus_defconfig b/configs/orangepi_pc_plus_defconfig
index 7969e8a4bf..053c3bffbd 100644
--- a/configs/orangepi_pc_plus_defconfig
+++ b/configs/orangepi_pc_plus_defconfig
@@ -22,6 +22,7 @@  BR2_TARGET_UBOOT_CUSTOM_VERSION=y
 BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2018.01"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_pc_plus"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
+BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
 BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
 BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin"
 BR2_TARGET_UBOOT_BOOT_SCRIPT=y
diff --git a/configs/orangepi_zero_defconfig b/configs/orangepi_zero_defconfig
index 86c634e39b..2efccc0ced 100644
--- a/configs/orangepi_zero_defconfig
+++ b/configs/orangepi_zero_defconfig
@@ -23,6 +23,7 @@  BR2_TARGET_UBOOT_CUSTOM_VERSION=y
 BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2018.01"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_zero"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
+BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
 BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
 BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin"
 BR2_TARGET_UBOOT_BOOT_SCRIPT=y