Skip to content

Commit 5fa8dba

Browse files
remove tegra 2 and change tegra 3/4 to gles
tegra 2 is armv7 and doesn't support NEON and is unlikely to ever be used tegra 3 (and maybe 4?) only support gles (up to 2.0) not gl
1 parent 3d841d1 commit 5fa8dba

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

scriptmodules/system.sh

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -412,9 +412,6 @@ function get_platform() {
412412
esac
413413
elif [[ -e "/sys/devices/soc0/family" ]]; then
414414
case "$(tr -d '\0' < /sys/devices/soc0/family)" in
415-
*tegra20*)
416-
__platform="tegra-2"
417-
;;
418415
*tegra30*)
419416
__platform="tegra-3"
420417
;;
@@ -561,19 +558,14 @@ function platform_xavier() {
561558
__platform_flags+=(x11 gl)
562559
}
563560
564-
function platform_tegra-2() {
565-
cpu_armv7 "cortex-a9"
566-
__platform_flags+=(x11 gl)
567-
}
568-
569561
function platform_tegra-3() {
570562
cpu_armv7 "cortex-a9"
571-
__platform_flags+=(x11 gl)
563+
__platform_flags+=(x11 gles)
572564
}
573565
574566
function platform_tegra-4() {
575567
cpu_armv7 "cortex-a15"
576-
__platform_flags+=(x11 gl)
568+
__platform_flags+=(x11 gles)
577569
}
578570
579571
function platform_tegra-k1-32() {

0 commit comments

Comments
 (0)