summaryrefslogtreecommitdiff
path: root/core/riscv-rv32i/toolchain.mk
diff options
context:
space:
mode:
Diffstat (limited to 'core/riscv-rv32i/toolchain.mk')
-rw-r--r--core/riscv-rv32i/toolchain.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/riscv-rv32i/toolchain.mk b/core/riscv-rv32i/toolchain.mk
new file mode 100644
index 0000000000..aa833d1ca3
--- /dev/null
+++ b/core/riscv-rv32i/toolchain.mk
@@ -0,0 +1,7 @@
+# Copyright 2022 The ChromiumOS Authors
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# Select RISC-V bare-metal toolchain
+$(call set-option,CROSS_COMPILE,$(CROSS_COMPILE_riscv),\
+ /opt/coreboot-sdk/bin/riscv64-elf-)