From 2bf810addd433559234d7cb09e9cc5aa6da2ed84 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 4 Feb 2026 15:34:22 +0000 Subject: [PATCH] gawk: trim native build configuration When we build gawk-native it is only for use in builds where the host gawk output isn't reproducible across versions[1]. As such it doesn't need support for readline or mprf, and by removing those from gawk-native we can get building gawk-native sooner. [1] oe-core c5bbf0a60b ("gawk: use native gawk when building glibc and grub") (From OE-Core rev: c80a422c9c1392127a431c2dd38b203266b0b1ed) Signed-off-by: Ross Burton Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Ross Burton Signed-off-by: Richard Purdie (cherry picked from commit 1e6b810f60fd45856fc6a57270bf85342bcd9415) Signed-off-by: Yoann Congal Signed-off-by: Paul Barker --- meta/recipes-extended/gawk/gawk_5.3.0.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-extended/gawk/gawk_5.3.0.bb b/meta/recipes-extended/gawk/gawk_5.3.0.bb index a05ec3b34b..e38c1f8436 100644 --- a/meta/recipes-extended/gawk/gawk_5.3.0.bb +++ b/meta/recipes-extended/gawk/gawk_5.3.0.bb @@ -12,6 +12,9 @@ LICENSE = "GPL-3.0-only" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" PACKAGECONFIG ??= "readline" +# Make native builds lean +PACKAGECONFIG:class-native = "" + PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline" PACKAGECONFIG[mpfr] = "--with-mpfr,--without-mpfr, mpfr"