diff options
-rw-r--r-- | meta-aspeed/recipes-aspeed/python/socsec.inc | 27 | ||||
-rw-r--r-- | meta-aspeed/recipes-aspeed/python/socsec_1.0.0.bb | 4 | ||||
-rw-r--r-- | meta-aspeed/recipes-aspeed/python/socsec_git.bb | 23 |
3 files changed, 31 insertions, 23 deletions
diff --git a/meta-aspeed/recipes-aspeed/python/socsec.inc b/meta-aspeed/recipes-aspeed/python/socsec.inc new file mode 100644 index 000000000..30ba30897 --- /dev/null +++ b/meta-aspeed/recipes-aspeed/python/socsec.inc @@ -0,0 +1,27 @@ +SUMMARY = "Secure-boot utilities for ASPEED BMC SoCs" +HOMEPAGE = "https://github.com/AspeedTech-BMC/socsec/" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d50b901333b4eedfee074ebcd6a6d611" + +BRANCH ?= "master" +SRC_URI = "git://github.com/AspeedTech-BMC/socsec.git;protocol=https;branch=${BRANCH}" + +S = "${WORKDIR}/git" + +inherit python3native setuptools3 + +DEPENDS += "${PYTHON_PN}-bitarray-native" +DEPENDS += "${PYTHON_PN}-ecdsa-native" +DEPENDS += "${PYTHON_PN}-pycryptodome-native" + +RDEPENDS:${PN} += "${PYTHON_PN}-bitarray" +RDEPENDS:${PN} += "${PYTHON_PN}-core" +RDEPENDS:${PN} += "${PYTHON_PN}-hexdump" +RDEPENDS:${PN} += "${PYTHON_PN}-jsonschema" +RDEPENDS:${PN} += "${PYTHON_PN}-jstyleson" +RDEPENDS:${PN} += "${PYTHON_PN}-pycryptodome" +RDEPENDS:${PN} += "${PYTHON_PN}-ecdsa" + +BBCLASSEXTEND = "native nativesdk" + diff --git a/meta-aspeed/recipes-aspeed/python/socsec_1.0.0.bb b/meta-aspeed/recipes-aspeed/python/socsec_1.0.0.bb new file mode 100644 index 000000000..a67c4c9dc --- /dev/null +++ b/meta-aspeed/recipes-aspeed/python/socsec_1.0.0.bb @@ -0,0 +1,4 @@ +include socsec.inc + +PV = "1.0.0+git${SRCPV}" +SRCREV = "2787a252988f4811097995ef9e807b1b433bde9f" diff --git a/meta-aspeed/recipes-aspeed/python/socsec_git.bb b/meta-aspeed/recipes-aspeed/python/socsec_git.bb deleted file mode 100644 index 6034b2982..000000000 --- a/meta-aspeed/recipes-aspeed/python/socsec_git.bb +++ /dev/null @@ -1,23 +0,0 @@ -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=master" - -PV = "0.2.1+git${SRCPV}" -SRCREV = "51bd4504bffb5044264cfe4c63b8fe8d48a114a9" - -S = "${WORKDIR}/git" - -inherit python3native setuptools3 - -RDEPENDS:${PN} += "python3-bitarray" -RDEPENDS:${PN} += "python3-core" -RDEPENDS:${PN} += "python3-ecdsa" -RDEPENDS:${PN} += "python3-jsonschema" -RDEPENDS:${PN} += "python3-jstyleson" -RDEPENDS:${PN} += "python3-pycryptodome" - -BBCLASSEXTEND = "native nativesdk" |