aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@dabbelt.com>2017-06-06 14:54:02 -0700
committerPalmer Dabbelt <palmer@dabbelt.com>2017-06-06 14:54:02 -0700
commit6186d4284c2dd7755f91a14cbb82c6e26e97c23d (patch)
tree0df51cab45d26e177f1f6252aebce4a12057a456
parent442bb84f84165892941df9fd204a4535fa6aa5f5 (diff)
downloadriscv-openocd-6186d4284c2dd7755f91a14cbb82c6e26e97c23d.zip
riscv-openocd-6186d4284c2dd7755f91a14cbb82c6e26e97c23d.tar.gz
riscv-openocd-6186d4284c2dd7755f91a14cbb82c6e26e97c23d.tar.bz2
Enable multilibs for riscv-gnu-toolchain
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6d56598..68751dd 100644
--- a/Makefile
+++ b/Makefile
@@ -63,7 +63,7 @@ $(OBJDIR)/%/stamps/riscv-gnu-toolchain/install.stamp: \
$(eval $@_BUILD := $(patsubst %/stamps/riscv-gnu-toolchain/install.stamp,%/build/riscv-gnu-toolchain,$@))
$(eval $@_INSTALL := $(patsubst %/stamps/riscv-gnu-toolchain/install.stamp,%/install/riscv64-unknown-elf-gcc-$(VERSION)-$($@_TARGET),$@))
mkdir -p $($@_BUILD)
- cd $($@_BUILD); ./configure --prefix=$(abspath $($@_INSTALL)) --with-host=$($@_TARGET) $($($@_TARGET)-rgt-configure)
+ cd $($@_BUILD); ./configure --prefix=$(abspath $($@_INSTALL)) --with-host=$($@_TARGET) $($($@_TARGET)-rgt-configure) --enable-multilib
$(MAKE) PATH="$(abspath $(OBJ_NATIVE)/install/riscv64-unknown-elf-gcc-$(VERSION)-$(NATIVE)/bin:$(PATH))" -C $($@_BUILD)
mkdir -p $(dir $@)
date > $@