From: Ross Burton Date: Wed, 22 Jul 2026 15:42:46 +0000 (+0100) Subject: xorg-lib-common: add builder class variable X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b99190eae50f7fabf2c1afa3114eef19230b4676;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git xorg-lib-common: add builder class variable Add a variable XORGBUILDCLASS to control which builder class is used. Defaults to autotools for no change, but this lets recipes switch to Meson if they can. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc b/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc index 25697e8471..a32e47f63b 100644 --- a/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc +++ b/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc @@ -12,10 +12,12 @@ SRC_URI = "${XORG_MIRROR}/individual/lib/${XORG_PN}-${PV}.${XORG_EXT}" S = "${UNPACKDIR}/${XORG_PN}-${PV}" -inherit autotools features_check pkgconfig +XORGBUILDCLASS ??= "autotools" +inherit_defer ${XORGBUILDCLASS} -EXTRA_OECONF = "--disable-docs --disable-specs" +inherit features_check pkgconfig +EXTRA_OECONF = "--disable-docs --disable-specs" UNKNOWN_CONFIGURE_OPT_IGNORE += "--disable-docs --disable-specs" REQUIRED_DISTRO_FEATURES ?= "x11"