From 766281a238903e21b482663483bf32e082549ee0 Mon Sep 17 00:00:00 2001 From: Alistair Francis Date: Wed, 5 Feb 2025 09:51:44 +1000 Subject: spdm-utils: Initial support for spdm-utils Signed-off-by: Alistair Francis Signed-off-by: Khem Raj --- .../spdm-utils/spdm-utils_0.7.2.bb | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 meta-oe/dynamic-layers/clang-layer/recipes-devtools/spdm-utils/spdm-utils_0.7.2.bb (limited to 'meta-oe/dynamic-layers/clang-layer/recipes-devtools/spdm-utils/spdm-utils_0.7.2.bb') diff --git a/meta-oe/dynamic-layers/clang-layer/recipes-devtools/spdm-utils/spdm-utils_0.7.2.bb b/meta-oe/dynamic-layers/clang-layer/recipes-devtools/spdm-utils/spdm-utils_0.7.2.bb new file mode 100644 index 0000000000..3b7dff96d9 --- /dev/null +++ b/meta-oe/dynamic-layers/clang-layer/recipes-devtools/spdm-utils/spdm-utils_0.7.2.bb @@ -0,0 +1,24 @@ +SUMMARY = "Linux applications to manage, test and develop devices supporting DMTF Security Protocol and Data Model (SPDM) " +HOMEPAGE = "https://github.com/westerndigitalcorporation/spdm-utils" +LICENSE = "Apache-2.0 & MIT" +LIC_FILES_CHKSUM = "\ + file://LICENSE-MIT;md5=b377b220f43d747efdec40d69fcaa69d \ + file://LICENSE-APACHE;md5=22a53954e4e0ec258dfce4391e905dac \ + " + +inherit cargo cargo-update-recipe-crates pkgconfig + +export BINDGEN_EXTRA_CLANG_ARGS +BINDGEN_EXTRA_CLANG_ARGS = "--sysroot=${WORKDIR}/recipe-sysroot -I${WORKDIR}/recipe-sysroot/usr/include" + +SRC_URI += "git://github.com/westerndigitalcorporation/spdm-utils.git;protocol=https;branch=master" + +include spdm-utils-crates.inc + +SRCREV = "f67ac9e00b79f603ecbbd29928a4ecc3dec5abd5" +S = "${WORKDIR}/git" + +# bindgen-cli comes from meta-clang and depends on libclang +DEPENDS += "libspdm udev bindgen-cli-native pciutils" + +COMPATIBLE_HOST:riscv32 = "null" -- cgit v1.2.3-54-g00ecf