blob: afe655f8451c4efc5814a84ec3864e9ed8666963 [file] [log] [blame]
Andrew Geissler9347dd42023-03-03 12:38:41 -06001SUMMARY = "Trusted Firmware image signing scripts"
2DESCRIPTION = "Trusted Firmware-M image signing scripts"
3HOMEPAGE = "https://git.trustedfirmware.org/trusted-firmware-m.git"
4
5inherit native
6
7# See bl2/ext/mcuboot/scripts/requirements.txt
8RDEPENDS:${PN} = "\
9 python3-cryptography-native \
10 python3-pyasn1-native \
11 python3-pyyaml-native \
12 python3-cbor2-native \
13 python3-imgtool-native \
14 python3-click-native \
15"
16
17do_configure[noexec] = "1"
18do_compile[noexec] = "1"
19
20do_install() {
21 install -d ${D}/${libdir}
22 cp -rf ${S}/bl2/ext/mcuboot/scripts/ ${D}/${libdir}/tfm-scripts
23 cp -rf ${S}/bl2/ext/mcuboot/*.pem ${D}/${libdir}/tfm-scripts
24}
25FILES:${PN} = "${libdir}/tfm-scripts"