summaryrefslogtreecommitdiffstats
path: root/meta-oe/dynamic-layers/clang-layer/recipes-devtools/spdm-utils/spdm-utils_0.7.2.bb
blob: ba6ad09098c363936361ea75971ca05a0dd27858 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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=${STAGING_DIR_HOST} -I${STAGING_INCDIR}"

SRC_URI += "git://github.com/westerndigitalcorporation/spdm-utils.git;protocol=https;branch=master"

include spdm-utils-crates.inc

SRCREV = "f67ac9e00b79f603ecbbd29928a4ecc3dec5abd5"

# bindgen-cli comes from meta-clang and depends on libclang
DEPENDS += "libspdm udev bindgen-cli-native pciutils"

COMPATIBLE_HOST:riscv32 = "null"
COMPATIBLE_HOST:mipsarcho32 = "null"