public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: Ross Burton <ross.burton@arm.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 0/8] Rationalise the pkg-config variables
Date: Fri, 23 Jan 2026 18:04:40 +0000	[thread overview]
Message-ID: <20260123180448.2997378-1-ross.burton@arm.com> (raw)

Hi,

This series cleans up and rationalises the pkg-config variables, with the
goal of following the majority of major distros and later switching from
pkg-config (last release: 2017) to pkgconf (last release: June 2025).

However, this series doesn't do that.

The first three patches are adding missing inherits, or fixing a bug in
numpy that we were lucky enough not to hit.

The next two are the key patches, specifically "classes/pkgconfig: rationalise
variable usage" is the meat of the series that actually changes the
variables and contains the rationale.

The next two are improvements for pkgconf that we might as well apply now.

Finally, a controversial patch to drop support for a working menuconfig on
kernels older than 5.15. If there is a need to support 5.10 then the small
fix to the kernel Makefiles should be an easy backport.  This patch is not
needed though, and can be dropped.

Cheers,
Ross

Ross Burton (8):
  pkgconfig: inherit the pkgconfig class
  perf: inherit the pkgconfig class
  python3-numpy: backport a Meson patch to fix pkg-config lookups
  classes/pkgconfig: move variable exports to the class
  classes/pkgconfig: rationalise variable usage
  pkgconf: small cleanups
  pkgconf: add pkg-config-native to the nativesdk package
  kernel: remove pkg-config variables for old (<5.19) kernels

 meta/classes-recipe/cml1.bbclass              |  7 ++--
 meta/classes-recipe/cross-canadian.bbclass    |  3 +-
 meta/classes-recipe/cross.bbclass             |  4 +--
 meta/classes-recipe/kernel.bbclass            | 13 -------
 meta/classes-recipe/native.bbclass            |  1 -
 meta/classes-recipe/nativesdk.bbclass         |  3 --
 meta/classes-recipe/pkgconfig.bbclass         |  6 ++++
 meta/conf/bitbake.conf                        | 14 ++++----
 .../pkgconf/pkgconf/pkg-config-native.in      |  3 +-
 .../recipes-devtools/pkgconf/pkgconf_2.5.1.bb | 14 ++++++--
 .../pkgconfig/pkgconfig_git.bb                |  4 +--
 .../python3-numpy/0001-python-sysroot.patch   | 34 +++++++++++++++++++
 .../python/python3-numpy_2.3.5.bb             |  1 +
 meta/recipes-kernel/linux/linux-yocto.inc     |  8 ++---
 meta/recipes-kernel/perf/perf.bb              |  3 +-
 15 files changed, 72 insertions(+), 46 deletions(-)
 create mode 100644 meta/recipes-devtools/python/python3-numpy/0001-python-sysroot.patch

-- 
2.43.0



             reply	other threads:[~2026-01-23 18:04 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-23 18:04 Ross Burton [this message]
2026-01-23 18:04 ` [PATCH 1/8] pkgconfig: inherit the pkgconfig class Ross Burton
2026-01-23 18:04 ` [PATCH 2/8] perf: " Ross Burton
2026-01-23 18:04 ` [PATCH 3/8] python3-numpy: backport a Meson patch to fix pkg-config lookups Ross Burton
2026-01-23 18:04 ` [PATCH 4/8] classes/pkgconfig: move variable exports to the class Ross Burton
2026-01-23 18:04 ` [PATCH 5/8] classes/pkgconfig: rationalise variable usage Ross Burton
2026-01-28 13:30   ` [OE-core] " Mathieu Dubois-Briand
2026-01-29  6:17     ` Mathieu Dubois-Briand
2026-02-06 10:29       ` Ross Burton
2026-01-23 18:04 ` [PATCH 6/8] pkgconf: small cleanups Ross Burton
2026-01-23 18:04 ` [PATCH 7/8] pkgconf: add pkg-config-native to the nativesdk package Ross Burton
2026-01-23 18:04 ` [PATCH 8/8] kernel: remove pkg-config variables for old (<5.15) kernels Ross Burton
2026-01-23 18:07 ` [OE-core] [PATCH 0/8] Rationalise the pkg-config variables Ross Burton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260123180448.2997378-1-ross.burton@arm.com \
    --to=ross.burton@arm.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox