wlan-ap-Telecominfraproject/patches/rtkmipsel/0005-rtkmipsel-select-gcc-5-as-the-compiler.patch
John Crispin c6a45184fd ipq807x: fix buildsystem for ath11.5-csu
Signed-off-by: John Crispin <john@phrozen.org>
2022-05-17 07:45:32 +02:00

46 lines
1.1 KiB
Diff

From 1a0edcffb0f130bfdde661a86f00a9081ea14dc2 Mon Sep 17 00:00:00 2001
From: John Crispin <john@phrozen.org>
Date: Sun, 8 May 2022 07:03:08 +0200
Subject: [PATCH] rtkmipsel: select gcc-5 as the compiler
Signed-off-by: John Crispin <john@phrozen.org>
---
toolchain/gcc/Config.in | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in
index 1aadae6839..3263dbd130 100644
--- a/toolchain/gcc/Config.in
+++ b/toolchain/gcc/Config.in
@@ -3,6 +3,7 @@
choice
prompt "GCC compiler Version" if TOOLCHAINOPTS
default GCC_USE_VERSION_8
+ default GCC_USE_VERSION_5 if TARGET_rtkmipsel
help
Select the version of gcc you wish to use.
@@ -13,15 +14,19 @@ choice
config GCC_USE_VERSION_7
bool "gcc 7.x"
depends on !arc
+ depends on !TARGET_rtkmipsel
config GCC_USE_VERSION_8
bool "gcc 8.x"
+ depends on !TARGET_rtkmipsel
config GCC_USE_VERSION_9
bool "gcc 9.x"
+ depends on !TARGET_rtkmipsel
config GCC_USE_VERSION_10
bool "gcc 10.x"
+ depends on !TARGET_rtkmipsel
endchoice
config GCC_USE_GRAPHITE
--
2.25.1