mesa-vpu: don't override DEFAULT_OVERLAYS

This commit is contained in:
Muhammed Efe Cetin
2024-10-07 00:58:16 +03:00
committed by Igor
parent e5d940c97e
commit 067dd99d18

View File

@@ -29,8 +29,12 @@ function extension_prepare_config__3d() {
# This should be enabled on all for rk3588 distributions where mesa and vendor kernel is present
if [[ "${LINUXFAMILY}" =~ ^(rockchip-rk3588|rk35xx)$ && "$BRANCH" == vendor ]]; then
if [[ -n $DEFAULT_OVERLAYS ]]; then
DEFAULT_OVERLAYS+=" panthor-gpu"
else
declare -g DEFAULT_OVERLAYS="panthor-gpu"
fi
fi
}