aboutsummaryrefslogtreecommitdiff
path: root/boot/uboot/uboot.mk
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-07-28 22:11:52 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-08-14 16:23:05 +0200
commit13eeeb4684d7916f9024381dc8d241e5b2d24a92 (patch)
treeb2dea8ec6a9ad39dec93f673fb381fdf6e770a1c /boot/uboot/uboot.mk
parentc32ad51cbf2a9161f08880109099c78f6eab9116 (diff)
downloadbuildroot-13eeeb4684d7916f9024381dc8d241e5b2d24a92.tar.gz
buildroot-13eeeb4684d7916f9024381dc8d241e5b2d24a92.tar.bz2
uboot: add option to depend on host-lzop
Some U-Boot configurations use lzop, which may not be available on the build machine since it's not a mandatory dependency of Buildroot. To solve this, a new option BR2_TARGET_UBOOT_NEEDS_LZOP is introduced, and handled in a similar way to the existing BR2_TARGET_UBOOT_NEEDS_OPENSSL option. This fixes the build of the dra7xx_evm U-Boot defconfig as of U-Boot 2018.07, on a build machine without lzop installed. 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 04c759be34..3e05f38046 100644
--- a/boot/uboot/uboot.mk
+++ b/boot/uboot/uboot.mk
@@ -152,6 +152,10 @@ ifeq ($(BR2_TARGET_UBOOT_NEEDS_OPENSSL),y)
UBOOT_DEPENDENCIES += host-openssl
endif
+ifeq ($(BR2_TARGET_UBOOT_NEEDS_LZOP),y)
+UBOOT_DEPENDENCIES += host-lzop
+endif
+
# prior to u-boot 2013.10 the license info was in COPYING. Copy it so
# legal-info finds it
define UBOOT_COPY_OLD_LICENSE_FILE