]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
mesa: do not build nouveau NVIDIA gallium-llvm driver if not requested
authorQuentin Schulz <quentin.schulz@cherry.de>
Thu, 12 Jun 2025 12:14:32 +0000 (14:14 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 16 Jun 2025 16:56:27 +0000 (17:56 +0100)
commit22e7f562fb4b5becc342fe7d60c37c70e42ccf6b
treedca583c0a019c2068c2fc890b53bc837daa1b230
parent28d41017ffd03d0bcc4ef0272a95d19412488624
mesa: do not build nouveau NVIDIA gallium-llvm driver if not requested

The Nouveau driver is used for NVIDIA GPUs and thus doesn't really need
to be always enabled when building gallium-llvm drivers.

So let's guard it with a nouveau PACKAGECONFIG.

The only intended change is nouveau not being build on target mesa on
non-x86/i686 machines when building gallium-llvm drivers as I assume
NVIDIA GPUs aren't that common on other CPU architectures (tegra already
bringing in the nouveau driver should handle the NVIDIA SoCs that would
benefit from nouveau driver and thus are not impacted by this change).

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/mesa/mesa.inc