Skip to content

Commit 4cf545f

Browse files
update approach to enable extensions, so users still have optional control
1 parent 322c95b commit 4cf545f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

config/sources/families/rockchip-rk3588.conf

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ BOOTSOURCE='https://github.com/radxa/u-boot.git'
1313
BOOTBRANCH='branch:next-dev-v2024.10' # Always use same version as rk35xx, they share a patch dir
1414
BOOTPATCHDIR="legacy/u-boot-radxa-rk35xx"
1515
OVERLAY_PREFIX='rockchip-rk3588'
16-
ENABLE_EXTENSIONS="mesa-vpu"
1716

1817
case $BRANCH in
1918

@@ -56,6 +55,11 @@ family_tweaks_bsp() {
5655
:
5756
}
5857

58+
function extension_prepare_config__enable_mesa_vpu() {
59+
# Auto-enable mesa-vpu for RK3588 GPU acceleration
60+
enable_extension "mesa-vpu"
61+
}
62+
5963
# Additional CFLAGS were previously needed to disable certain errors when building vendor U-Boot.
6064
# This is now fixed in Radxa U-Boot sources, but left here (commented out) for reference in case new errors appear in the future.
6165

0 commit comments

Comments
 (0)