|
@@ -147,14 +147,45 @@ 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_PYTHON
|
|
|
+ bool
|
|
|
+
|
|
|
+choice
|
|
|
+ bool "U-Boot needs host Python"
|
|
|
+
|
|
|
+config BR2_TARGET_UBOOT_NEEDS_PYTHON_NONE
|
|
|
+ bool "no"
|
|
|
+ depends on !BR2_TARGET_UBOOT_NEEDS_PYTHON
|
|
|
+ help
|
|
|
+ Select this option if U-Boot does not need any
|
|
|
+ host python to build.
|
|
|
+
|
|
|
+config BR2_TARGET_UBOOT_NEEDS_PYTHON2
|
|
|
+ bool "python 2.x"
|
|
|
+ help
|
|
|
+ Select this option if U-Boot needs a host Python 2.x
|
|
|
+ interpreter. This is the case for some U-Boot
|
|
|
+ configurations, prior to U-Boot 2020.01.
|
|
|
+
|
|
|
+config BR2_TARGET_UBOOT_NEEDS_PYTHON3
|
|
|
+ bool "python 3.x"
|
|
|
+ help
|
|
|
+ Select this option if U-Boot needs a host Python 3.x
|
|
|
+ interpreter. This is the case for some U-Boot
|
|
|
+ configurations, after U-Boot 2020.01.
|
|
|
+
|
|
|
+endchoice
|
|
|
+
|
|
|
config BR2_TARGET_UBOOT_NEEDS_PYLIBFDT
|
|
|
bool "U-Boot needs pylibfdt"
|
|
|
+ select BR2_TARGET_UBOOT_NEEDS_PYTHON
|
|
|
help
|
|
|
Select this option if your U-Boot board configuration
|
|
|
requires the Python libfdt library to be available.
|
|
|
|
|
|
config BR2_TARGET_UBOOT_NEEDS_PYELFTOOLS
|
|
|
bool "U-Boot needs pyelftools"
|
|
|
+ select BR2_TARGET_UBOOT_NEEDS_PYTHON
|
|
|
help
|
|
|
Select this option if your U-Boot board configuration
|
|
|
requires the Python pyelftools library to be available.
|