projects
/
rpikern
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
startup and debug led
[rpikern]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
739bfdd
..
f61f340
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-18,8
+18,9
@@
endif
warn = -pedantic -Wall
dbg = -g
inc = -Isrc/libc
warn = -pedantic -Wall
dbg = -g
inc = -Isrc/libc
-gccopt = -fpic -ffreestanding -nostdinc
-arch = -mcpu=arm1176jzf-s
+gccopt = -marm -fpic -ffreestanding -nostdinc
+#arch = -mcpu=arm1176jzf-s
+arch = -mcpu=cortex-a7
CFLAGS = $(arch) $(warn) $(opt) $(dbg) $(gccopt) $(inc) $(def)
ASFLAGS = $(arch) $(dbg) $(inc)
CFLAGS = $(arch) $(warn) $(opt) $(dbg) $(gccopt) $(inc) $(def)
ASFLAGS = $(arch) $(dbg) $(inc)
@@
-48,6
+49,6
@@
clean:
cleandep:
rm -f $(dep)
cleandep:
rm -f $(dep)
-.PHONY: debug
-debug: $(elf)
+.PHONY: run
+run: $(elf)
qemu-system-arm $(QEMU_FLAGS) -kernel $(elf)
qemu-system-arm $(QEMU_FLAGS) -kernel $(elf)