From 2842745dec6044281de585dcaffd0de836186b2f Mon Sep 17 00:00:00 2001 From: Kurt Kiefer Date: Mon, 11 Nov 2024 14:48:14 -0800 Subject: [PATCH] libdrm: move dependency on nvidia-drm out of weston-init The nvidia-drm kernel module and associated load config are needed by libdrm but were only getting picked up by weston-init. There are valid configurations (headless, egl-only) that need libdrm but do not pull in weston, so the runtime recommendation is moved to the libdrm bbappend. Signed-off-by: Kurt Kiefer --- .../{wayland/weston-init.bbappend => drm/libdrm_%.bbappend} | 2 ++ 1 file changed, 2 insertions(+) rename recipes-graphics/{wayland/weston-init.bbappend => drm/libdrm_%.bbappend} (64%) diff --git a/recipes-graphics/wayland/weston-init.bbappend b/recipes-graphics/drm/libdrm_%.bbappend similarity index 64% rename from recipes-graphics/wayland/weston-init.bbappend rename to recipes-graphics/drm/libdrm_%.bbappend index ab0b67ad..e3c95391 100644 --- a/recipes-graphics/wayland/weston-init.bbappend +++ b/recipes-graphics/drm/libdrm_%.bbappend @@ -1 +1,3 @@ +PACKAGE_ARCH:tegra = "${TEGRA_PKGARCH}" + RRECOMMENDS:${PN}:tegra = "kernel-module-nvidia-drm nvidia-drm-loadconf"