From 7e1950eb53ce0b05e5a39b8aef15428691a2a417 Mon Sep 17 00:00:00 2001
From: tzh <tanzhtanzh@gmail.com>
Date: Tue, 23 Jul 2024 02:00:21 +0000
Subject: [PATCH] feat(patch): add ido patch

---
 longan/kernel/linux-4.9/modules/gpu/img-rgx/android/rogue_km/build/linux/config/compiler.mk |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/longan/kernel/linux-4.9/modules/gpu/img-rgx/android/rogue_km/build/linux/config/compiler.mk b/longan/kernel/linux-4.9/modules/gpu/img-rgx/android/rogue_km/build/linux/config/compiler.mk
index 746bddd..cef11ec 100644
--- a/longan/kernel/linux-4.9/modules/gpu/img-rgx/android/rogue_km/build/linux/config/compiler.mk
+++ b/longan/kernel/linux-4.9/modules/gpu/img-rgx/android/rogue_km/build/linux/config/compiler.mk
@@ -180,7 +180,7 @@
  _kernel_cross_compile := $(if $(filter undef,$(KERNEL_CROSS_COMPILE)),,$(KERNEL_CROSS_COMPILE))
  # We can take shortcuts with KERNEL_CROSS_COMPILE, as we don't want to
  # respect CC and we don't support clang in that part currently.
- _kernel_cross_compile := $(_kernel_cross_compile)
+ _kernel_cross_compile := $(_kernel_cross_compile)gcc
  # Then check the compiler.
  $(eval $(call calculate-compiler-preferred-target,target,$(_kernel_cross_compile)))
  $(eval $(call include-compiler-file,$(target_compiler_preferred_target)))
@@ -239,7 +239,7 @@
   $(warning $(space)$(space)KERNEL_CROSS_COMPILE=$(KERNEL_CROSS_COMPILE))
   $(warning $(space)$(space)$(space)builds for $(_kernel_primary_arch))
   $(warning ********************************************************)
-  $(warning Mismatching kernel and user-mode cross compilers)
+  $(error Mismatching kernel and user-mode cross compilers)
  endif
 endif
 

--
Gitblit v1.6.2