From: Dmitry Baryshkov Date: Thu, 30 Oct 2025 11:54:15 +0000 (+0200) Subject: mesa: drop freedreno-fdperf PACKAGECONFIG X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=293edd0d3d077d0fde7ba6671dc9a26d5b4cf5e4;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git mesa: drop freedreno-fdperf PACKAGECONFIG With libconfig being a part of OE-Core, we can now drop separate freedreno-fdperf config option and merge the dependency into other freedreno tools dependencies. Signed-off-by: Dmitry Baryshkov Signed-off-by: Mathieu Dubois-Briand --- diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index 3124db09864..e8786aa2e98 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc @@ -147,11 +147,7 @@ TOOLS .= "${@bb.utils.contains('PACKAGECONFIG', 'lima', ',lima', '', d)}" TOOLS .= "${@bb.utils.contains('PACKAGECONFIG', 'panfrost', ',panfrost', '', d)}" # dependencies for tools. -TOOLS_DEPS = "${@bb.utils.contains('PACKAGECONFIG', 'freedreno', ' ncurses libxml2 ', '', d)}" - -# the fdperf tool requires libconfig (a part of meta-oe) so it needs special -# treatment in addition to the usual 'freedreno tools'. -PACKAGECONFIG[freedreno-fdperf] = ",,libconfig" +TOOLS_DEPS:append = "${@bb.utils.contains('PACKAGECONFIG', 'freedreno', ' ncurses libconfig libxml2 ', '', d)}" PACKAGECONFIG[tools] = "-Dtools=${@strip_comma('${TOOLS}')}, -Dtools='', ${TOOLS_DEPS}" PACKAGECONFIG[xmlconfig] = "-Dxmlconfig=enabled, -Dxmlconfig=disabled, expat"