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 <gabriel.valcazar@digi.com>
This commit is contained in:
Gabriel Valcazar 2020-09-16 12:02:39 +02:00
parent 27be059de4
commit 4d0ae35a52
1 changed files with 5 additions and 0 deletions

View File

@ -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 \