From 691a8e0474d482e2487b7ba29818cbb758bdd2b2 Mon Sep 17 00:00:00 2001 From: Patrick Williams Date: Mon, 13 Dec 2021 18:00:02 -0600 Subject: meta-phosphor: cmake packages: add pkgconfig With the latest Yocto we see failures: ``` 17:14:36 | CMake Error at /home/jenkins-op/workspace/ci-openbmc/distro/ubuntu/label/docker-builder/target/tiogapass/build/work/arm1176jzs-openbmc-linux-gnueabi/phosphor-ipmi-ipmb/0.1+gitAUTOINC+8227626764-r0/recipe-sysroot-native/usr/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:230 (message): 17:14:36 | Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) ``` Add the correct inherit for ipmb-ipmb. Pre-emptively add for any recipe which does 'inherit cmake'. Signed-off-by: Patrick Williams Change-Id: Ib3327af0f19268d1f5b70259c3445b0985da9fa0 --- meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_git.bb | 2 +- meta-phosphor/recipes-phosphor/smbios/smbios-mdr_git.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'meta-phosphor/recipes-phosphor') diff --git a/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_git.bb b/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_git.bb index 1db304c64..5c7e3e0e3 100644 --- a/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_git.bb +++ b/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_git.bb @@ -18,5 +18,5 @@ DEPENDS = "sdbusplus \ nlohmann-json" S = "${WORKDIR}/git" -inherit cmake systemd +inherit cmake pkgconfig systemd FILES:${PN} += "/usr/share/ipmbbridge/ipmb-channels.json" diff --git a/meta-phosphor/recipes-phosphor/smbios/smbios-mdr_git.bb b/meta-phosphor/recipes-phosphor/smbios/smbios-mdr_git.bb index bfa69e9c3..a0582340b 100644 --- a/meta-phosphor/recipes-phosphor/smbios/smbios-mdr_git.bb +++ b/meta-phosphor/recipes-phosphor/smbios/smbios-mdr_git.bb @@ -8,7 +8,7 @@ PV = "1.0+git${SRCPV}" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" -inherit cmake systemd +inherit cmake pkgconfig systemd inherit obmc-phosphor-ipmiprovider-symlink DEPENDS += " \ -- cgit v1.2.3