]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
nativesdk-sdk-provides-dummy: allow pkgconfig to be installed into SDKs
authorRoss Burton <ross.burton@arm.com>
Wed, 3 Sep 2025 16:44:59 +0000 (17:44 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 Oct 2025 10:27:31 +0000 (11:27 +0100)
This recipe is a dummy provider of pkgconfig, but we want our SDKs to
ship a pkgconfig binary if requested as otherwise that's a host tool
that would be required to use the SDK. On Linux that's easily solved,
but meta-mingw/meta-darwin SDKs can't really assume that pkgconfig will
be present on the host.

This behaviour dates back to 2014 when construction of SDKs with RPM
packages was added[1] and notably the same behaviour didn't exist for
ipkg-based SDKs.

[1] oe-core 417b27ce5c1 ("lib/oe/sdk.py: support RpmRootfs")

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
meta/recipes-core/meta/nativesdk-sdk-provides-dummy.bb

index 1d71f373a4e53a6faffadac3cdb064b4966c7cfa..96caf968eef051f2ee669f4901f092aa2afdffa3 100644 (file)
@@ -1,8 +1,6 @@
 DUMMYARCH = "sdk-provides-dummy-${SDKPKGSUFFIX}"
 
-DUMMYPROVIDES_PACKAGES = "\
-    pkgconfig \
-"
+DUMMYPROVIDES_PACKAGES = ""
 
 DUMMYPROVIDES = "\
     /bin/sh \