File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -430,6 +430,15 @@ function get_platform() {
430
430
* rockpro64* )
431
431
__platform=" rockpro64"
432
432
;;
433
+ * imx6dl* )
434
+ __platform=" imx6"
435
+ ;;
436
+ * imx6q* )
437
+ __platform=" imx6"
438
+ ;;
439
+ * imx8mm* )
440
+ __platform=" imx8mm"
441
+ ;;
433
442
esac
434
443
elif [[ -e " /sys/devices/soc0/family" ]]; then
435
444
case " $( tr -d ' \0' < /sys/devices/soc0/family) " in
@@ -628,6 +637,13 @@ function platform_armv7-mali() {
628
637
629
638
function platform_imx6() {
630
639
cpu_armv7 " cortex-a9"
640
+ [[ -d /sys/class/drm/card0/device/driver/etnaviv ]] && __platform_flags+=(x11 gles mesa)
641
+ }
642
+
643
+ function platform_imx8mm() {
644
+ cpu_armv8 " cortex-a53"
645
+ __platform_flags+=(x11 gles)
646
+ [[ -d /sys/class/drm/card0/device/driver/etnaviv ]] && __platform_flags+=(mesa)
631
647
}
632
648
633
649
function platform_vero4k() {
You can’t perform that action at this time.
0 commit comments