Skip to content

Commit 8afc442

Browse files
committed
system - add recognition / platform flags for the Raspberry Pi 5
1 parent 00511fe commit 8afc442

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

scriptmodules/system.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,9 @@ function get_platform() {
397397
3)
398398
__platform="rpi4"
399399
;;
400+
4)
401+
__platform="rpi5"
402+
;;
400403
esac
401404
fi
402405
;;
@@ -568,6 +571,11 @@ function platform_rpi4() {
568571
__platform_flags+=(rpi gles gles3 gles31)
569572
}
570573

574+
function platform_rpi5() {
575+
cpu_armv8 "cortex-a76"
576+
__platform_flags+=(rpi gles gles3 gles31)
577+
}
578+
571579
function platform_odroid-c1() {
572580
cpu_armv7 "cortex-a5"
573581
cpu_arm_state

0 commit comments

Comments
 (0)