From b868db04a0e19afbdfcf83904606e4ea3e578e34 Mon Sep 17 00:00:00 2001 From: Armin Kuster Date: Tue, 6 Mar 2018 17:21:17 -0800 Subject: [PATCH] gtkperf: only include when x11 in DISTRO_FEATURES Signed-off-by: Armin Kuster --- meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb b/meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb index 2db91904f8..4094513b29 100644 --- a/meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb +++ b/meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb @@ -16,7 +16,9 @@ DEPENDS = "gtk+" S = "${WORKDIR}/${BPN}" -inherit autotools binconfig pkgconfig gettext +inherit distro_features_check autotools binconfig pkgconfig gettext + +REQUIRED_DISTRO_FEATURES = "x11" do_configure_prepend () { rm -f ${S}/m4/init.m4