| Message ID | 20260722154247.2987545-4-ross.burton@arm.com |
|---|---|
| State | Under Review |
| Headers | show |
| Series | [1/5] site: remove obsolete xorg_cv_malloc0_returns_null | expand |
diff --git a/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc b/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc index 25697e8471b..a32e47f63b4 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} + +inherit features_check pkgconfig EXTRA_OECONF = "--disable-docs --disable-specs" - UNKNOWN_CONFIGURE_OPT_IGNORE += "--disable-docs --disable-specs" REQUIRED_DISTRO_FEATURES ?= "x11"
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> --- meta/recipes-graphics/xorg-lib/xorg-lib-common.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)