aboutsummaryrefslogtreecommitdiff
path: root/sysutils/u-boot-master/Makefile
diff options
context:
space:
mode:
authorMitchell Horne <mhorne@FreeBSD.org>2020-07-31 17:10:31 +0000
committerMitchell Horne <mhorne@FreeBSD.org>2020-07-31 17:10:31 +0000
commit750ae1a8714cfdbe8b9ddac08c2562969274d08a (patch)
tree5637fe525e863ef256c079a21dd3c50cd028ce1f /sysutils/u-boot-master/Makefile
parentc7399da719c25edc752fd1e1edbf782cec900e33 (diff)
Notes
Diffstat (limited to 'sysutils/u-boot-master/Makefile')
-rw-r--r--sysutils/u-boot-master/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/sysutils/u-boot-master/Makefile b/sysutils/u-boot-master/Makefile
index f7c8380488e3..3bbd2bf33b6b 100644
--- a/sysutils/u-boot-master/Makefile
+++ b/sysutils/u-boot-master/Makefile
@@ -104,6 +104,9 @@ UBOOT_METADATA_ARMADA38X_METHOD= raw
UBOOT_METADATA_ARMADA38X_RAW_OFFSET= 1
UBOOT_METADATA_ARMADA38X_RAW_BS= 512
+# Override for QEMU family
+UBOOT_PLIST_QEMU= u-boot.bin
+
# Uboot variables
.if !defined(UBOOT_VERSION) && defined(UBOOT_VERSION_${FAMILY:tu})
UBOOT_VERSION=${UBOOT_VERSION_${FAMILY:tu}}
@@ -132,6 +135,9 @@ UBOOT_PLIST+= boot.scr
.elif ${UBOOT_ARCH} == aarch64
CROSS_COMPILE=aarch64-none-elf-
ARCHFLAGS=ARCH=arm
+.elif ${UBOOT_ARCH} == riscv64
+CROSS_COMPILE=riscv64-none-elf-
+ARCHFLAGS=ARCH=riscv
.else
# Best guess for other architectures
CROSS_COMPILE=${UBOOT_ARCH}-none-elf-