mirror of
https://github.com/tailix/libkernaux.git
synced 2025-06-02 18:21:48 -04:00
Start RISC-V kernel example
This commit is contained in:
parent
99adbd0478
commit
61afab81ba
1 changed files with 11 additions and 0 deletions
11
examples/kernel-riscv64/Makefile
Normal file
11
examples/kernel-riscv64/Makefile
Normal file
|
@ -0,0 +1,11 @@
|
|||
all: run
|
||||
|
||||
CCPREFIX = ../../vendor/cross/bin/riscv64-elf-
|
||||
|
||||
AS = $(CCPREFIX)as
|
||||
CC = $(CCPREFIX)gcc
|
||||
|
||||
QEMU = qemu-system-riscv64
|
||||
|
||||
run:
|
||||
$(QEMU) -machine virt -serial stdio
|
Loading…
Add table
Add a link
Reference in a new issue