diff options
author | Ross Burton <ross.burton@arm.com> | 2025-09-03 17:44:59 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-10-03 17:51:38 +0100 |
commit | ece3515738b6bf5c428c2906be7f83e5110a543f (patch) | |
tree | 7031e25f46eeba64a44c98a7e8379b95c481ac10 | |
parent | cdb3e521ffee22807cec36e2af882273b73bc8cd (diff) | |
download | poky-ece3515738b6bf5c428c2906be7f83e5110a543f.tar.gz |
nativesdk-sdk-provides-dummy: allow pkgconfig to be installed into SDKs
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")
(From OE-Core rev: 6c84de9a47b6b86d406cf1cfb324828699062028)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/meta/nativesdk-sdk-provides-dummy.bb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/recipes-core/meta/nativesdk-sdk-provides-dummy.bb b/meta/recipes-core/meta/nativesdk-sdk-provides-dummy.bb index 1d71f373a4..96caf968ee 100644 --- a/meta/recipes-core/meta/nativesdk-sdk-provides-dummy.bb +++ b/meta/recipes-core/meta/nativesdk-sdk-provides-dummy.bb | |||
@@ -1,8 +1,6 @@ | |||
1 | DUMMYARCH = "sdk-provides-dummy-${SDKPKGSUFFIX}" | 1 | DUMMYARCH = "sdk-provides-dummy-${SDKPKGSUFFIX}" |
2 | 2 | ||
3 | DUMMYPROVIDES_PACKAGES = "\ | 3 | DUMMYPROVIDES_PACKAGES = "" |
4 | pkgconfig \ | ||
5 | " | ||
6 | 4 | ||
7 | DUMMYPROVIDES = "\ | 5 | DUMMYPROVIDES = "\ |
8 | /bin/sh \ | 6 | /bin/sh \ |