Skip to content

Commit 72a5536

Browse files
nashifgalak
authored andcommitted
nios2: build multilib toolchain
This how we had it in the old SDK. Signed-off-by: Anas Nashif <[email protected]>
1 parent f399456 commit 72a5536

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

configs/nios2.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@ CT_CC_LANG_CXX=y
2323
CT_DEBUG_GDB=y
2424
CT_ISL_V_0_18=y
2525
CT_LIBICONV_NEEDED=y
26+
CT_MULTILIB=y
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
From a59a1adfbf64ab86f0f1025d6ae3fd3961946626 Mon Sep 17 00:00:00 2001
2+
From: Anas Nashif <[email protected]>
3+
Date: Mon, 18 Feb 2019 14:32:06 -0500
4+
Subject: [PATCH 2/2] nios2: add multilib support
5+
6+
Signed-off-by: Anas Nashif <[email protected]>
7+
---
8+
gcc/config/nios2/t-nios2 | 6 +++---
9+
1 file changed, 3 insertions(+), 3 deletions(-)
10+
11+
diff --git a/gcc/config/nios2/t-nios2 b/gcc/config/nios2/t-nios2
12+
index ca2f46d..311e46b 100644
13+
--- a/gcc/config/nios2/t-nios2
14+
+++ b/gcc/config/nios2/t-nios2
15+
@@ -18,9 +18,9 @@
16+
# along with GCC; see the file COPYING3. If not see
17+
# <http://www.gnu.org/licenses/>.
18+
19+
-# MULTILIB_OPTIONS = mno-hw-mul/mhw-mulx mcustom-fpu-cfg=60-1/mcustom-fpu-cfg=60-2
20+
-# MULTILIB_DIRNAMES = nomul mulx fpu-60-1 fpu-60-2
21+
-# MULTILIB_EXCEPTIONS =
22+
+MULTILIB_OPTIONS = mno-hw-mul/mhw-mulx mcustom-fpu-cfg=60-1/mcustom-fpu-cfg=60-2
23+
+MULTILIB_DIRNAMES = nomul mulx fpu-60-1 fpu-60-2
24+
+MULTILIB_EXCEPTIONS =
25+
26+
# MULTILIB_OPTIONS += mel/meb
27+
# MULTILIB_DIRNAMES += le be
28+
--
29+
2.19.1
30+

0 commit comments

Comments
 (0)