aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-08-18 21:11:17 -0700
committerChristian Cunningham <cc@localhost>2022-08-18 21:11:17 -0700
commitffdcd4524f6940bb1d6d40b45eb7bf8c6f756223 (patch)
treefd8c23988285281065e47f75ac5ad889e5472477 /Makefile
parent66ee8a34f3bcde31f9d5919f2e0e363ac11f4aca (diff)
Include fixed allocation scheme
TODO: Upgrade to queue scheme
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9beb347..d2b6c52 100644
--- a/Makefile
+++ b/Makefile
@@ -20,10 +20,13 @@ COMPILER_ARGS=--target=$(TARGET) $(FEATURES) --release
RUSTC_CMD=cargo rustc $(COMPILER_ARGS)
export LINKER_FILE
-.PHONY: build clean
+.PHONY: build clean run
build:
@RUSTFLAGS="$(RUSTFLAGS_PEDANTIC)" $(RUSTC_CMD)
clean:
rm -rf target
+
+run: build
+ qemu-system-arm -cpu cortex-a7 -m 1G -kernel target/armv7a-none-eabi/release/kernel -machine raspi2b -serial mon:stdio -nographic