trustfence-sign-tools: convert DEPENDS to RDEPENDS

Dependencies of this recipe are run-time dependencies, not build-time.
While on it, move them to specific native/nativesdk recipe.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
This commit is contained in:
Hector Palacios 2023-02-10 10:44:59 +01:00
parent dda629e968
commit 090c4f6616
3 changed files with 5 additions and 3 deletions

View File

@ -2,3 +2,5 @@
require trustfence-sign-tools.inc
inherit nativesdk
RDEPENDS:${PN} = "nativesdk-trustfence-cst"

View File

@ -2,3 +2,6 @@
require trustfence-sign-tools.inc
inherit native
RDEPENDS:${PN} = "trustfence-cst-native coreutils-native util-linux-native"
RDEPENDS:${PN} += "${@oe.utils.conditional('TRUSTFENCE_SIGN_MODE', 'AHAB', 'imx-mkimage-native', '', d)}"

View File

@ -4,9 +4,6 @@ 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-native coreutils-native util-linux-native"
DEPENDS += "${@oe.utils.conditional('TRUSTFENCE_SIGN_MODE', 'AHAB', 'imx-mkimage-native', '', d)}"
SRCBRANCH = "v2020.04/master"
SRCREV = "${AUTOREV}"