diff options
author | Palmer Dabbelt <palmer@dabbelt.com> | 2017-07-27 09:11:28 -0700 |
---|---|---|
committer | Palmer Dabbelt <palmer@dabbelt.com> | 2017-07-27 09:13:30 -0700 |
commit | 4c354cd1e7e7f4728573ee9e21b4ae9d0be7244d (patch) | |
tree | 9a065ddad073dfb1ea536b2af9dd18c887cf2f6c | |
parent | f5fae1c27b2365da773816ddcd92f533867f28ec (diff) | |
download | riscv-gnu-toolchain-4c354cd1e7e7f4728573ee9e21b4ae9d0be7244d.zip riscv-gnu-toolchain-4c354cd1e7e7f4728573ee9e21b4ae9d0be7244d.tar.gz riscv-gnu-toolchain-4c354cd1e7e7f4728573ee9e21b4ae9d0be7244d.tar.bz2 |
Allow users to override the tuples
A user just added RTEMS support to the GCC port (via newlib), which is
very similar to the existing newlib port but has a different tuple.
This patch allows users to override the tuples to build other targets if
they want to.
-rw-r--r-- | Makefile.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in index 8873ea8..040c36a 100644 --- a/Makefile.in +++ b/Makefile.in @@ -45,8 +45,8 @@ ifeq ($(MULTILIB_NAMES),) endif make_tuple = riscv$(1)-unknown-$(2) -LINUX_TUPLE := $(call make_tuple,$(XLEN),linux-gnu) -NEWLIB_TUPLE := $(call make_tuple,$(XLEN),elf) +LINUX_TUPLE ?= $(call make_tuple,$(XLEN),linux-gnu) +NEWLIB_TUPLE ?= $(call make_tuple,$(XLEN),elf) CFLAGS_FOR_TARGET := $(CFLAGS_FOR_TARGET_EXTRA) @cmodel@ ASFLAGS_FOR_TARGET := $(ASFLAGS_FOR_TARGET_EXTRA) @cmodel@ |