wlan-ap-Telecominfraproject/patches/rtkmipsel/0005-rtkmipsel-select-gcc-5-as-the-compiler.patch
John Crispin 34138032a7 rtkmipsel: add target support
Signed-off-by: John Crispin <john@phrozen.org>
2022-02-04 08:06:06 +01:00

49 lines
1.2 KiB
Diff

From b982cd26327d9bfe9460b39916a7a8b519f59315 Mon Sep 17 00:00:00 2001
From: John Crispin <john@phrozen.org>
Date: Sun, 2 Jan 2022 10:09:59 +0100
Subject: [PATCH 1/2] 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 6625e02114..3ba07aaa63 100644
--- a/toolchain/gcc/Config.in
+++ b/toolchain/gcc/Config.in
@@ -4,6 +4,7 @@ choice
prompt "GCC compiler Version" if TOOLCHAINOPTS
default GCC_USE_VERSION_8
default GCC_USE_VERSION_5 if TARGET_ipq807x
+ default GCC_USE_VERSION_5 if TARGET_rtkmipsel
help
Select the version of gcc you wish to use.
@@ -15,18 +16,22 @@ choice
bool "gcc 7.x"
depends on !arc
depends on !TARGET_ipq807x
+ depends on !TARGET_rtkmipsel
config GCC_USE_VERSION_8
bool "gcc 8.x"
depends on !TARGET_ipq807x
+ depends on !TARGET_rtkmipsel
config GCC_USE_VERSION_9
bool "gcc 9.x"
depends on !TARGET_ipq807x
+ depends on !TARGET_rtkmipsel
config GCC_USE_VERSION_10
bool "gcc 10.x"
depends on !TARGET_ipq807x
+ depends on !TARGET_rtkmipsel
endchoice
config GCC_USE_GRAPHITE
--
2.25.1