From 401647d16c789e4355d31a7fe2786cc669da5f9d Mon Sep 17 00:00:00 2001 From: Abdellatif El Khlifi Date: Fri, 29 Oct 2021 12:27:48 +0100 Subject: [PATCH] arm-bsp/python3-imgtool: add the recipe Until this is integrated into meta-python, hold a copy of python3-imgtool in meta-arm-bsp used by trusted-firmware-m. Change-Id: I2e86be503bee03de549f5714dc52921165afa2bf Signed-off-by: Abdellatif El Khlifi Signed-off-by: Arpita S.K Signed-off-by: Jon Mason --- meta-arm-bsp/conf/layer.conf | 1 + .../corstone1000-imgtool/python3-imgtool_1.7.1.bb | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 meta-arm-bsp/recipes-devtool/corstone1000-imgtool/python3-imgtool_1.7.1.bb diff --git a/meta-arm-bsp/conf/layer.conf b/meta-arm-bsp/conf/layer.conf index f4306a60..954e5d83 100644 --- a/meta-arm-bsp/conf/layer.conf +++ b/meta-arm-bsp/conf/layer.conf @@ -13,6 +13,7 @@ LAYERSERIES_COMPAT_meta-arm-bsp = "honister" LAYERDEPENDS_meta-arm-bsp = "core meta-arm" # This won't be used by layerindex-fetch, but works everywhere else +LAYERDEPENDS_meta-arm-bsp:append:corstone1000 = " meta-python" LAYERDEPENDS_meta-arm-bsp:append:musca-b1 = " meta-python" LAYERDEPENDS_meta-arm-bsp:append:musca-s1 = " meta-python" diff --git a/meta-arm-bsp/recipes-devtool/corstone1000-imgtool/python3-imgtool_1.7.1.bb b/meta-arm-bsp/recipes-devtool/corstone1000-imgtool/python3-imgtool_1.7.1.bb new file mode 100644 index 00000000..06d52d09 --- /dev/null +++ b/meta-arm-bsp/recipes-devtool/corstone1000-imgtool/python3-imgtool_1.7.1.bb @@ -0,0 +1,14 @@ +SUMMARY = "MCUboot's image signing and key management" +LICENSE = "Apache-2.0" +AUTHOR = "The MCUboot committers , \ + Abdellatif El Khlifi " + +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=e32b214fd9c204b77a99a97aa903757b" + +SRC_URI[md5sum] = "de0005dc13ce9e5e6aecdedfd0956286" + +DEPENDS:corstone1000 = "python3-cryptography python3-intelhex python3-click python3-cbor" + +inherit pypi setuptools3 + +BBCLASSEXTEND = "native nativesdk"