diff options
| author | Ross Burton <ross.burton@arm.com> | 2026-02-06 10:29:00 +0000 |
|---|---|---|
| committer | Yogesh Tyagi <yogesh.tyagi@intel.com> | 2026-02-10 22:33:42 +0530 |
| commit | d7afc542602e47ddd32d99fafd4849781ad55e2a (patch) | |
| tree | bffb41e7926a8d8e8c424beb575a6e0bcaa68a40 | |
| parent | 7535d8443247894f24bc6189a55234dcef09d5f8 (diff) | |
| download | meta-intel-d7afc542602e47ddd32d99fafd4849781ad55e2a.tar.gz | |
recipes: inherit pkgconfig
Instead of depending directly on pkgconfig-native, inherit the pkgconfig
class. At the moment this just adds a layer of indirection to the right
provider of pkgconfig, but there are patches in flight to move exports
into the class to isolate the variables.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
6 files changed, 14 insertions, 12 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_2550.0.0.0.bb b/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_2550.0.0.0.bb index 3804338e..d601fb31 100644 --- a/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_2550.0.0.0.bb +++ b/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_2550.0.0.0.bb | |||
| @@ -10,9 +10,9 @@ COMPATIBLE_HOST = '(i.86|x86_64).*-linux' | |||
| 10 | 10 | ||
| 11 | COMPATIBLE_HOST:libc-musl = "null" | 11 | COMPATIBLE_HOST:libc-musl = "null" |
| 12 | 12 | ||
| 13 | inherit cmake systemd features_check python3native | 13 | inherit cmake systemd features_check python3native pkgconfig |
| 14 | 14 | ||
| 15 | DEPENDS = "metee ace xerces-c libnl libxml2 glib-2.0 glib-2.0-native pkgconfig-native python3-packaging-native" | 15 | DEPENDS = "metee ace xerces-c libnl libxml2 glib-2.0 glib-2.0-native python3-packaging-native" |
| 16 | 16 | ||
| 17 | # Enable either connman or networkmanager or none but not both. | 17 | # Enable either connman or networkmanager or none but not both. |
| 18 | PACKAGECONFIG ??= "connman" | 18 | PACKAGECONFIG ??= "connman" |
diff --git a/dynamic-layers/openembedded-layer/recipes-bsp/linux-npu-driver/linux-npu-driver_1.28.0.bb b/dynamic-layers/openembedded-layer/recipes-bsp/linux-npu-driver/linux-npu-driver_1.28.0.bb index 1be67e01..1bf7c46a 100644 --- a/dynamic-layers/openembedded-layer/recipes-bsp/linux-npu-driver/linux-npu-driver_1.28.0.bb +++ b/dynamic-layers/openembedded-layer/recipes-bsp/linux-npu-driver/linux-npu-driver_1.28.0.bb | |||
| @@ -21,7 +21,7 @@ SRCREV_lzvext = "61e4aeb00afd2a5b6955986269eed3a713c7b562" | |||
| 21 | SRCREV_googletest = "b514bdc898e2951020cbdca1304b75f5950d1f59" | 21 | SRCREV_googletest = "b514bdc898e2951020cbdca1304b75f5950d1f59" |
| 22 | SRCREV_FORMAT = "linux-npu-driver_npu-compiler-elf_yaml-cpp_lzvext_googletest" | 22 | SRCREV_FORMAT = "linux-npu-driver_npu-compiler-elf_yaml-cpp_lzvext_googletest" |
| 23 | 23 | ||
| 24 | inherit cmake | 24 | inherit cmake pkgconfig |
| 25 | 25 | ||
| 26 | COMPATIBLE_HOST = '(x86_64).*-linux' | 26 | COMPATIBLE_HOST = '(x86_64).*-linux' |
| 27 | COMPATIBLE_HOST:libc-musl = 'null' | 27 | COMPATIBLE_HOST:libc-musl = 'null' |
| @@ -34,7 +34,7 @@ EXTRA_OECMAKE += " -DCMAKE_INSTALL_FIRMWARE_DIR=${nonarch_base_libdir}" | |||
| 34 | EXTRA_OECMAKE += " -DCMAKE_POLICY_VERSION_MINIMUM=3.5" | 34 | EXTRA_OECMAKE += " -DCMAKE_POLICY_VERSION_MINIMUM=3.5" |
| 35 | EXTRA_OECMAKE += " -DCMAKE_CXX_FLAGS='-I${STAGING_INCDIR}/level_zero'" | 35 | EXTRA_OECMAKE += " -DCMAKE_CXX_FLAGS='-I${STAGING_INCDIR}/level_zero'" |
| 36 | 36 | ||
| 37 | DEPENDS = "level-zero dpkg-native pkgconfig-native level-zero-native" | 37 | DEPENDS = "level-zero dpkg-native level-zero-native" |
| 38 | 38 | ||
| 39 | PACKAGES =+ "${PN}-firmware ${PN}-tests" | 39 | PACKAGES =+ "${PN}-firmware ${PN}-tests" |
| 40 | 40 | ||
diff --git a/dynamic-layers/openembedded-layer/recipes-support/ipmctl/ipmctl_03.00.00.0538.bb b/dynamic-layers/openembedded-layer/recipes-support/ipmctl/ipmctl_03.00.00.0538.bb index aeefe4a4..4ec337f1 100644 --- a/dynamic-layers/openembedded-layer/recipes-support/ipmctl/ipmctl_03.00.00.0538.bb +++ b/dynamic-layers/openembedded-layer/recipes-support/ipmctl/ipmctl_03.00.00.0538.bb | |||
| @@ -27,9 +27,9 @@ SRCREV_ipmctl = "a71f2fb1c90dd07f9862b71c789881132193e8f9" | |||
| 27 | SRCREV_edk2 = "46548b1adac82211d8d11da12dd914f41e7aa775" | 27 | SRCREV_edk2 = "46548b1adac82211d8d11da12dd914f41e7aa775" |
| 28 | SRCREV_FORMAT = "ipmctl_edk2" | 28 | SRCREV_FORMAT = "ipmctl_edk2" |
| 29 | 29 | ||
| 30 | inherit cmake dos2unix | 30 | inherit cmake dos2unix pkgconfig |
| 31 | 31 | ||
| 32 | DEPENDS = "ndctl pkgconfig-native" | 32 | DEPENDS = "ndctl" |
| 33 | 33 | ||
| 34 | EXTRA_OECMAKE = "-DRELEASE=ON \ | 34 | EXTRA_OECMAKE = "-DRELEASE=ON \ |
| 35 | -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \ | 35 | -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \ |
diff --git a/recipes-multimedia/vpl/libvpl-tools_1.5.0.bb b/recipes-multimedia/vpl/libvpl-tools_1.5.0.bb index 662d3add..33db121e 100644 --- a/recipes-multimedia/vpl/libvpl-tools_1.5.0.bb +++ b/recipes-multimedia/vpl/libvpl-tools_1.5.0.bb | |||
| @@ -13,8 +13,9 @@ SRC_URI = "git://github.com/intel/libvpl-tools.git;protocol=https;branch=main \ | |||
| 13 | 13 | ||
| 14 | SRCREV = "ad9deecaf0ee76f689373b55fe620c843e3c8a4d" | 14 | SRCREV = "ad9deecaf0ee76f689373b55fe620c843e3c8a4d" |
| 15 | 15 | ||
| 16 | inherit cmake | 16 | inherit cmake pkgconfig |
| 17 | DEPENDS += "libva libvpl pkgconfig-native" | 17 | |
| 18 | DEPENDS += "libva libvpl" | ||
| 18 | 19 | ||
| 19 | PACKAGECONFIG ??= "tools" | 20 | PACKAGECONFIG ??= "tools" |
| 20 | PACKAGECONFIG[tools] = "-DENABLE_WAYLAND=ON, -DENABLE_WAYLAND=OFF, wayland wayland-native wayland-protocols" | 21 | PACKAGECONFIG[tools] = "-DENABLE_WAYLAND=ON, -DENABLE_WAYLAND=OFF, wayland wayland-native wayland-protocols" |
diff --git a/recipes-multimedia/vpl/libvpl_2.16.0.bb b/recipes-multimedia/vpl/libvpl_2.16.0.bb index 107abef5..19fe8d14 100644 --- a/recipes-multimedia/vpl/libvpl_2.16.0.bb +++ b/recipes-multimedia/vpl/libvpl_2.16.0.bb | |||
| @@ -13,8 +13,9 @@ SRC_URI = "git://github.com/intel/libvpl.git;protocol=https;branch=main \ | |||
| 13 | " | 13 | " |
| 14 | SRCREV = "778a66d6c6537f08eabb91955dbbf1bce3812894" | 14 | SRCREV = "778a66d6c6537f08eabb91955dbbf1bce3812894" |
| 15 | 15 | ||
| 16 | inherit cmake | 16 | inherit cmake pkgconfig |
| 17 | DEPENDS += "libva pkgconfig-native" | 17 | |
| 18 | DEPENDS += "libva" | ||
| 18 | 19 | ||
| 19 | PACKAGECONFIG ??= "tools" | 20 | PACKAGECONFIG ??= "tools" |
| 20 | PACKAGECONFIG[tools] = "-DBUILD_TOOLS=ON, -DBUILD_TOOLS=OFF, wayland wayland-native wayland-protocols" | 21 | PACKAGECONFIG[tools] = "-DBUILD_TOOLS=ON, -DBUILD_TOOLS=OFF, wayland wayland-native wayland-protocols" |
diff --git a/recipes-multimedia/vpl/vpl-gpu-rt_26.1.0.bb b/recipes-multimedia/vpl/vpl-gpu-rt_26.1.0.bb index 74fd3ae2..abc62d14 100644 --- a/recipes-multimedia/vpl/vpl-gpu-rt_26.1.0.bb +++ b/recipes-multimedia/vpl/vpl-gpu-rt_26.1.0.bb | |||
| @@ -14,7 +14,7 @@ PE = "1" | |||
| 14 | COMPATIBLE_HOST = '(x86_64).*-linux' | 14 | COMPATIBLE_HOST = '(x86_64).*-linux' |
| 15 | COMPATIBLE_HOST:x86-x32 = "null" | 15 | COMPATIBLE_HOST:x86-x32 = "null" |
| 16 | 16 | ||
| 17 | DEPENDS += "libdrm libva intel-media-driver libvpl pkgconfig-native" | 17 | DEPENDS += "libdrm libva intel-media-driver libvpl" |
| 18 | RDEPENDS:${PN} += "intel-media-driver" | 18 | RDEPENDS:${PN} += "intel-media-driver" |
| 19 | 19 | ||
| 20 | SRC_URI = "git://github.com/intel/vpl-gpu-rt.git;protocol=https;nobranch=1;lfs=0 \ | 20 | SRC_URI = "git://github.com/intel/vpl-gpu-rt.git;protocol=https;nobranch=1;lfs=0 \ |
| @@ -26,7 +26,7 @@ FILES:${PN} += " \ | |||
| 26 | ${libdir}/libmfx-gen/enctools.so \ | 26 | ${libdir}/libmfx-gen/enctools.so \ |
| 27 | " | 27 | " |
| 28 | 28 | ||
| 29 | inherit cmake features_check | 29 | inherit cmake features_check pkgconfig |
| 30 | 30 | ||
| 31 | REQUIRED_DISTRO_FEATURES = "opengl" | 31 | REQUIRED_DISTRO_FEATURES = "opengl" |
| 32 | 32 | ||
