Andrew Geissler | 9347dd4 | 2023-03-03 12:38:41 -0600 | [diff] [blame^] | 1 | SUMMARY = "Trusted Firmware image signing scripts" |
| 2 | DESCRIPTION = "Trusted Firmware-M image signing scripts" |
| 3 | HOMEPAGE = "https://git.trustedfirmware.org/trusted-firmware-m.git" |
| 4 | |
| 5 | inherit native |
| 6 | |
| 7 | # See bl2/ext/mcuboot/scripts/requirements.txt |
| 8 | RDEPENDS:${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 | |
| 17 | do_configure[noexec] = "1" |
| 18 | do_compile[noexec] = "1" |
| 19 | |
| 20 | do_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 | } |
| 25 | FILES:${PN} = "${libdir}/tfm-scripts" |