diff mbox series

nativesdk-sdk-provides-dummy: allow pkgconfig to be installed into SDKs

Message ID 20250903164459.2758128-1-ross.burton@arm.com
State New
Headers show
Series nativesdk-sdk-provides-dummy: allow pkgconfig to be installed into SDKs | expand

Commit Message

Ross Burton Sept. 3, 2025, 4:44 p.m. UTC
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>
---
 meta/recipes-core/meta/nativesdk-sdk-provides-dummy.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Comments

Ross Burton Sept. 5, 2025, 9:12 a.m. UTC | #1
Forgot to say: this solves the problem where none of the testsdk runs were actually running the gtk3 tests, as they were skipping as pkgconfig wasn’t available.

Ross

> On 3 Sep 2025, at 17:44, Ross Burton via lists.openembedded.org <ross.burton=arm.com@lists.openembedded.org> wrote:
> 
> 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>
> ---
> meta/recipes-core/meta/nativesdk-sdk-provides-dummy.bb | 4 +---
> 1 file changed, 1 insertion(+), 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 1d71f373a4e..96caf968eef 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 @@
> DUMMYARCH = "sdk-provides-dummy-${SDKPKGSUFFIX}"
> 
> -DUMMYPROVIDES_PACKAGES = "\
> -    pkgconfig \
> -"
> +DUMMYPROVIDES_PACKAGES = ""
> 
> DUMMYPROVIDES = "\
>     /bin/sh \
> -- 
> 2.43.0
> 
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#222877): https://lists.openembedded.org/g/openembedded-core/message/222877
> Mute This Topic: https://lists.openembedded.org/mt/115048662/6875888
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ross.burton@arm.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/meta/recipes-core/meta/nativesdk-sdk-provides-dummy.bb b/meta/recipes-core/meta/nativesdk-sdk-provides-dummy.bb
index 1d71f373a4e..96caf968eef 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 @@ 
 DUMMYARCH = "sdk-provides-dummy-${SDKPKGSUFFIX}"
 
-DUMMYPROVIDES_PACKAGES = "\
-    pkgconfig \
-"
+DUMMYPROVIDES_PACKAGES = ""
 
 DUMMYPROVIDES = "\
     /bin/sh \