]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
xorg-lib-common: add builder class variable
authorRoss Burton <ross.burton@arm.com>
Wed, 22 Jul 2026 15:42:46 +0000 (16:42 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Jul 2026 10:27:20 +0000 (11:27 +0100)
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 <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/xorg-lib/xorg-lib-common.inc

index 25697e8471b9f0a253181cc92eebbb80ec0aa34c..a32e47f63b4c6df99ff603e25a949df2bd75890a 100644 (file)
@@ -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"