From c3e6dc7bd75749cee58849d84e51499a0178e1b2 Mon Sep 17 00:00:00 2001 From: zerojay Date: Thu, 21 Dec 2017 17:59:56 -0500 Subject: [PATCH] Fix hardware detection for Odroid-XU4 against newer kernels On older kernels, the Odroid-XU4 would be identified as "ODROID-XU3". On newer kernels, such as the latest Ubuntu kernel for ODroid, the XU4 is now being identifed as "ODROID-XU4" which would cause the hardware detection to fail and have it build a generic ARM build instead of our desired "platform = odroidxu3". --- shell/linux/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shell/linux/Makefile b/shell/linux/Makefile index 25cbc8c6d..2c6b2b432 100644 --- a/shell/linux/Makefile +++ b/shell/linux/Makefile @@ -44,6 +44,8 @@ ifeq (,$(platform)) platform = odroidc1 else ifneq (,$(findstring ODROID-XU3,$(HARDWARE))) platform = odroidxu3 + else ifneq (,$(findstring ODROID-XU4,$(HARDWARE))) + platform = odroidxu3 else ifneq (,$(findstring ODROIDXU,$(HARDWARE))) platform = odroidxu else ifneq (,$(findstring ODROIDX2,$(HARDWARE)))