mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-26 04:36:33 +00:00
boot/uboot: add support for having host-python-pyelftools as a dependency
Rockchip rk3399 SOC based boards require python pyelftools library for parsing dtb files, so lets add it as uboot dependency. This commit introduces a new config option BR2_TARGET_UBOOT_NEEDS_PYELFTOOLS to achieve this. Signed-off-by: Shyam Saini <shyam.saini@amarulasolutions.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
e2f9cc6348
commit
e471c6709d
@ -151,6 +151,14 @@ config BR2_TARGET_UBOOT_NEEDS_PYLIBFDT
|
|||||||
Select this option if your U-Boot board configuration
|
Select this option if your U-Boot board configuration
|
||||||
requires the Python libfdt library to be available.
|
requires the Python libfdt library to be available.
|
||||||
|
|
||||||
|
config BR2_TARGET_UBOOT_NEEDS_PYELFTOOLS
|
||||||
|
bool "U-Boot needs pyelftools"
|
||||||
|
help
|
||||||
|
Select this option if your U-Boot board configuration
|
||||||
|
requires the Python pyelftools library to be available.
|
||||||
|
This is used by some rockchip SOCs for elf parsing.
|
||||||
|
For example: rk3399 soc boards.
|
||||||
|
|
||||||
config BR2_TARGET_UBOOT_NEEDS_OPENSSL
|
config BR2_TARGET_UBOOT_NEEDS_OPENSSL
|
||||||
bool "U-Boot needs OpenSSL"
|
bool "U-Boot needs OpenSSL"
|
||||||
help
|
help
|
||||||
|
@ -152,6 +152,10 @@ ifeq ($(BR2_TARGET_UBOOT_NEEDS_PYLIBFDT),y)
|
|||||||
UBOOT_DEPENDENCIES += host-python host-swig
|
UBOOT_DEPENDENCIES += host-python host-swig
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_TARGET_UBOOT_NEEDS_PYELFTOOLS),y)
|
||||||
|
UBOOT_DEPENDENCIES += host-python-pyelftools
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_TARGET_UBOOT_NEEDS_OPENSSL),y)
|
ifeq ($(BR2_TARGET_UBOOT_NEEDS_OPENSSL),y)
|
||||||
UBOOT_DEPENDENCIES += host-openssl
|
UBOOT_DEPENDENCIES += host-openssl
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user