aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorff520git <wangfeng@eswincomputing.com>2024-03-27 11:20:18 +0800
committerChristoph Müllner <christophm30@gmail.com>2024-04-05 22:58:08 +0200
commit0f9e41c5b9560587ba31f3c9e565d4b087c69a6d (patch)
tree3e4082a96edfe13e41f262f71fad711040e3ddd7
parent65d9e0f354ff73460ca4827a51fdff00af105048 (diff)
downloadriscv-gnu-toolchain-0f9e41c5b9560587ba31f3c9e565d4b087c69a6d.zip
riscv-gnu-toolchain-0f9e41c5b9560587ba31f3c9e565d4b087c69a6d.tar.gz
riscv-gnu-toolchain-0f9e41c5b9560587ba31f3c9e565d4b087c69a6d.tar.bz2
Add double quotation marks for build-arch-abi
In order to generate target board info for multilib, the parameters of build-arch-abi should be enclosed in double quotation marks. And the the python script generate_target_board will process it correctly Signed-off-by: ff520git <wangfeng@eswincomputing.com>
-rw-r--r--Makefile.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index f877704..69e2927 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -96,7 +96,7 @@ GLIBC_CXX_FOR_TARGET ?= $(LINUX_TUPLE)-g++
GLIBC_TARGET_BOARDS ?= $(shell $(srcdir)/scripts/generate_target_board \
--sim-name riscv-sim \
--cmodel $(shell echo @cmodel@ | cut -d '=' -f2) \
- --build-arch-abi $(GLIBC_MULTILIB_NAMES) \
+ --build-arch-abi "$(GLIBC_MULTILIB_NAMES)" \
--extra-test-arch-abi-flags-list "$(EXTRA_MULTILIB_TEST)")
NEWLIB_CC_FOR_TARGET ?= $(NEWLIB_TUPLE)-gcc
@@ -104,13 +104,13 @@ NEWLIB_CXX_FOR_TARGET ?= $(NEWLIB_TUPLE)-g++
NEWLIB_TARGET_BOARDS ?= $(shell $(srcdir)/scripts/generate_target_board \
--sim-name riscv-sim \
--cmodel $(shell echo @cmodel@ | cut -d '=' -f2) \
- --build-arch-abi $(NEWLIB_MULTILIB_NAMES) \
+ --build-arch-abi "$(NEWLIB_MULTILIB_NAMES)" \
--extra-test-arch-abi-flags-list "$(EXTRA_MULTILIB_TEST)")
NEWLIB_NANO_TARGET_BOARDS ?= $(shell $(srcdir)/scripts/generate_target_board \
--sim-name riscv-sim-nano \
--cmodel $(shell echo @cmodel@ | cut -d '=' -f2) \
- --build-arch-abi $(NEWLIB_MULTILIB_NAMES) \
+ --build-arch-abi "$(NEWLIB_MULTILIB_NAMES)" \
--extra-test-arch-abi-flags-list "$(EXTRA_MULTILIB_TEST)")
NEWLIB_CC_FOR_MULTILIB_INFO := $(NEWLIB_CC_FOR_TARGET)