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 <[email protected]> --- meta/recipes-graphics/xorg-app/xorg-app-common.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta/recipes-graphics/xorg-app/xorg-app-common.inc b/meta/recipes-graphics/xorg-app/xorg-app-common.inc index 5dbe8abe862..23a526413ad 100644 --- a/meta/recipes-graphics/xorg-app/xorg-app-common.inc +++ b/meta/recipes-graphics/xorg-app/xorg-app-common.inc @@ -11,6 +11,9 @@ REQUIRED_DISTRO_FEATURES = "x11" SRC_URI_EXT = "bz2" SRC_URI = "${XORG_MIRROR}/individual/app/${BPN}-${PV}.tar.${SRC_URI_EXT}" -inherit autotools pkgconfig features_check +XORGBUILDCLASS ??= "autotools" +inherit_defer ${XORGBUILDCLASS} + +inherit pkgconfig features_check FILES:${PN} += " ${libdir}/X11/${BPN} ${datadir}/X11/app-defaults/" -- 2.43.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#240964): https://lists.openembedded.org/g/openembedded-core/message/240964 Mute This Topic: https://lists.openembedded.org/mt/120281291/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
