aboutsummaryrefslogtreecommitdiff
path: root/boot/uboot/uboot.mk
diff options
context:
space:
mode:
authorGravatar Shyam Saini <shyam.saini@amarulasolutions.com>2019-04-18 18:53:31 +0530
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-04-20 22:21:37 +0200
commite471c6709d558efc0e3a78173f8f74a73e5e9df3 (patch)
treef0edd99935865c7f855411b299c33d9bcddc0905 /boot/uboot/uboot.mk
parente2f9cc634863607b063d55562abcf465e80ba148 (diff)
downloadbuildroot-e471c6709d558efc0e3a78173f8f74a73e5e9df3.tar.gz
buildroot-e471c6709d558efc0e3a78173f8f74a73e5e9df3.tar.bz2
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>
Diffstat (limited to 'boot/uboot/uboot.mk')
-rw-r--r--boot/uboot/uboot.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk
index 3c070b41b3..ae09c37d84 100644
--- a/boot/uboot/uboot.mk
+++ b/boot/uboot/uboot.mk
@@ -152,6 +152,10 @@ ifeq ($(BR2_TARGET_UBOOT_NEEDS_PYLIBFDT),y)
UBOOT_DEPENDENCIES += host-python host-swig
endif
+ifeq ($(BR2_TARGET_UBOOT_NEEDS_PYELFTOOLS),y)
+UBOOT_DEPENDENCIES += host-python-pyelftools
+endif
+
ifeq ($(BR2_TARGET_UBOOT_NEEDS_OPENSSL),y)
UBOOT_DEPENDENCIES += host-openssl
endif