aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2021-12-08 17:27:38 -0700
committerChristian Cunningham <cc@localhost>2021-12-08 17:27:38 -0700
commit70875c2c095576489cb88836a7e176c83c298f03 (patch)
tree46456ee00dedef4128d3123820bacd0d5737ddd4
parent1605c7f5737ee4544bb6f8419ed1cc13faa1f72b (diff)
Fixed Makefile
-rw-r--r--Common.mk5
-rw-r--r--Unix.mk2
-rw-r--r--Win.mk2
3 files changed, 5 insertions, 4 deletions
diff --git a/Common.mk b/Common.mk
index edff8ac..3c0b3ef 100644
--- a/Common.mk
+++ b/Common.mk
@@ -11,11 +11,12 @@ CC = ${CROSS}-gcc
AS = ${CROSS}-as
OBJCOPY = ${CROSS}-objcopy
OBJDUMP = ${CROSS}-objdump
-QEMU = /mnt/c/qemu/qemu-system-arm.exe
+QEMU = qemu-system-arm
GDB = gdb-multiarch
CFLAGS = -mcpu=cortex-a7 -fpic -ffreestanding -std=gnu99 -O3 -Wall -Wextra -nostdlib -g
AFLAGS = -mcpu=cortex-a7 -g
-QFLAGS = -M raspi2 -cpu arm1176 -m 1G -serial mon:stdio -nographic
+QFLAGS = -M raspi2 -cpu arm1176 -m 1G -serial mon:stdio
+QFLAGS += -nographic
BSP ?= 2
diff --git a/Unix.mk b/Unix.mk
index b6c5ad1..89e8077 100644
--- a/Unix.mk
+++ b/Unix.mk
@@ -1,2 +1,2 @@
-QEMU = qemu-system-arm
include Common.mk
+QEMU = qemu-system-arm
diff --git a/Win.mk b/Win.mk
index 8ad16f4..9698828 100644
--- a/Win.mk
+++ b/Win.mk
@@ -1,2 +1,2 @@
-QEMU = /mnt/c/qemu/qemu-system-arm.exe
include Common.mk
+QEMU = /mnt/c/qemu/qemu-system-arm.exe