From 4d0ae35a5281a5f07f45deb62d5ba1fe39c18404 Mon Sep 17 00:00:00 2001 From: Gabriel Valcazar Date: Wed, 16 Sep 2020 12:02:39 +0200 Subject: [PATCH] trustfence-cst: add byacc-native as a dependency when building the SDK The CST package requires byacc to compile, and even though this dependency is met when building images for the target, said dependency needs to be made explicit when the package is built for the SDK in order to avoid build errors. Signed-off-by: Gabriel Valcazar --- meta-digi-arm/recipes-bsp/trustfence-cst/trustfence-cst.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta-digi-arm/recipes-bsp/trustfence-cst/trustfence-cst.inc b/meta-digi-arm/recipes-bsp/trustfence-cst/trustfence-cst.inc index 005d65f9a..dae46cd48 100644 --- a/meta-digi-arm/recipes-bsp/trustfence-cst/trustfence-cst.inc +++ b/meta-digi-arm/recipes-bsp/trustfence-cst/trustfence-cst.inc @@ -7,6 +7,11 @@ LICENSE = "CLOSED" DEPENDS = "openssl byacc flex" +# Explicitly add byacc-native as a dependency when building the package for the +# SDK, otherwise, it won't get installed in the sysroot, causing a compilation +# error. +DEPENDS_append_class-nativesdk = " byacc-native" + SRC_URI = " \ ${@oe.utils.conditional('TRUSTFENCE_SIGN', '1', 'file://cst-${PV}.tgz', '', d)} \ file://0001-gen_auth_encrypted_data-reuse-existing-DEK-file.patch \