os-workshop

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 3557f6c66b7b326f3eab5bdd047ddd94f2110aa6
parent 2c2e434e349b97ec2962489c2e68b985db0624cf
Author: Brian Swetland <swetland@frotz.net>
Date:   Fri, 22 Apr 2022 13:19:07 -0700

build: set default toolchain and qemu to match Ubuntu

Diffstat:
MMakefile | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -7,8 +7,9 @@ all:: build-all V := @ -XTOOLCHAIN ?= /toolchain/riscv32-11.2.0/bin/riscv32-elf- -QEMU ?= /work/app/qemu/bin/qemu-system-riscv32 +# defaults for Ubuntu, can override with local.mk +XTOOLCHAIN ?= /usr/bin/riscv64-unknown-elf- +QEMU ?= /usr/bin/qemu-system-riscv32 QFLAGS := -machine virt -bios none -nographic QFLAGS.GDB := $(QFLAGS) -gdb tcp::7777 -S