aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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