summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Jeffery <andrew@aj.id.au>2021-01-13 05:33:50 +0300
committerJoel Stanley <joel@jms.id.au>2021-03-01 08:13:32 +0300
commit900695b830113fb3e4db2a7dd0b0c25faa1d1497 (patch)
tree2439d14efa8e3140f74319eb1eecb41454aa0d62
parentb1ff1bd2067beed2425de13d4d75beb0fbe2dc17 (diff)
downloadopenbmc-900695b830113fb3e4db2a7dd0b0c25faa1d1497.tar.xz
recipes-aspeed: Add socsec
socsec is required for securing firmware leveraging the hardware root of trust in the AST2600. Change-Id: I7f44609df1d303e8211eb9286442afdfcd77c4b8 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-rw-r--r--meta-aspeed/recipes-aspeed/python/socsec_git.bb23
1 files changed, 23 insertions, 0 deletions
diff --git a/meta-aspeed/recipes-aspeed/python/socsec_git.bb b/meta-aspeed/recipes-aspeed/python/socsec_git.bb
new file mode 100644
index 000000000..3de811a51
--- /dev/null
+++ b/meta-aspeed/recipes-aspeed/python/socsec_git.bb
@@ -0,0 +1,23 @@
+SUMMARY = "Secure-boot utilities for ASPEED BMC SoCs"
+HOMEPAGE = "https://github.com/AspeedTech-BMC/socsec/"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d50b901333b4eedfee074ebcd6a6d611"
+
+SRC_URI = "git://github.com/AspeedTech-BMC/socsec/;protocol=https;branch=develop"
+
+PV = "1.7+git${SRCPV}"
+SRCREV = "54cdd3b26262e66d2020a04cba55bc8b02090f1a"
+
+S = "${WORKDIR}/git"
+
+inherit python3native setuptools3
+
+RDEPENDS_${PN} += "python3-bitarray"
+RDEPENDS_${PN} += "python3-core"
+RDEPENDS_${PN} += "python3-hexdump"
+RDEPENDS_${PN} += "python3-jsonschema"
+RDEPENDS_${PN} += "python3-jstyleson"
+RDEPENDS_${PN} += "python3-pycryptodome"
+
+BBCLASSEXTEND = "native nativesdk"