aboutsummaryrefslogtreecommitdiff
path: root/Common.mk
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-03-02 15:36:24 -0700
committerChristian Cunningham <cc@localhost>2022-03-02 15:36:24 -0700
commit4c74418b1d97b2e9f7daeea365d5018db199fca7 (patch)
treecf3c2672343c6dd75e316003d2cf4242a30c3d40 /Common.mk
parentc31227d9046c3ab853255f89358966fe0721e957 (diff)
Ensure one test is added
Mount and export make
Diffstat (limited to 'Common.mk')
-rw-r--r--Common.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/Common.mk b/Common.mk
index b2664b0..ecf10de 100644
--- a/Common.mk
+++ b/Common.mk
@@ -10,6 +10,7 @@ AUTO ?= 0
BSP ?= 2
DEBUG ?= 0
SILENT ?= 0
+DISK ?= /dev/sdc1
CROSS = arm-none-eabi
CC = ${CROSS}-gcc
@@ -110,4 +111,6 @@ test: clean build/kernel.elf
@./tests/run.sh
copy: clean build/kernel7.img
+ sudo mount -o umask=0 $(DISK) /mnt/sd0
sudo cp build/kernel7.img /mnt/sd0
+ sudo umount /mnt/sd0