trustfence-sign-tools: split recipe into native and nativesdk

This recipe builds the script (that depends on cst-tool) that is used to
sign the images. It's only run natively.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
This commit is contained in:
Hector Palacios 2023-02-06 09:19:27 +01:00
parent 56f323044c
commit dda629e968
3 changed files with 11 additions and 4 deletions

View File

@ -0,0 +1,4 @@
# Copyright (C) 2023, Digi International Inc.
require trustfence-sign-tools.inc
inherit nativesdk

View File

@ -0,0 +1,4 @@
# Copyright (C) 2023, Digi International Inc.
require trustfence-sign-tools.inc
inherit native

View File

@ -1,11 +1,11 @@
# Copyright (C) 2017-2022, Digi International Inc.
# Copyright (C) 2017-2023, Digi International Inc.
SUMMARY = "TrustFence signing and encryption scripts"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6"
DEPENDS = "trustfence-cst coreutils util-linux"
DEPENDS += "${@oe.utils.conditional('TRUSTFENCE_SIGN_MODE', 'AHAB', 'imx-mkimage', '', d)}"
DEPENDS = "trustfence-cst-native coreutils-native util-linux-native"
DEPENDS += "${@oe.utils.conditional('TRUSTFENCE_SIGN_MODE', 'AHAB', 'imx-mkimage-native', '', d)}"
SRCBRANCH = "v2020.04/master"
SRCREV = "${AUTOREV}"
@ -53,4 +53,3 @@ do_install() {
}
FILES:${PN} = "${bindir}"
BBCLASSEXTEND = "native nativesdk"