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-04 21:33:32 +0100 |
| commit | 5a67f2c622d7ae066a0a6847ee05cb798dd88a17 (patch) | |
| tree | c16099bfdfd352068a9bd6755c3ebb0897c357f9 | |
| parent | 77291b15bd4e02a2a529c34f24de5164a00d012e (diff) | |
| download | poky-5a67f2c622d7ae066a0a6847ee05cb798dd88a17.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 \ |
