projects
/
rpikern
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- implemented video mode setting with the property tags, and once again it only
[rpikern]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
f61f340
..
24a3fb6
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-17,8
+17,8
@@
endif
warn = -pedantic -Wall
dbg = -g
warn = -pedantic -Wall
dbg = -g
-inc = -Isrc/libc
-gccopt = -marm -fpic -ffreestanding -nostdinc
+inc = -Isrc -Isrc/libc
+gccopt = -marm -fpic -ffreestanding -nostdinc -ffast-math -fno-math-errno
#arch = -mcpu=arm1176jzf-s
arch = -mcpu=cortex-a7
#arch = -mcpu=arm1176jzf-s
arch = -mcpu=cortex-a7
@@
-26,7
+26,7
@@
CFLAGS = $(arch) $(warn) $(opt) $(dbg) $(gccopt) $(inc) $(def)
ASFLAGS = $(arch) $(dbg) $(inc)
LDFLAGS = -nostdlib -T rpikern.ld -print-gc-sections
ASFLAGS = $(arch) $(dbg) $(inc)
LDFLAGS = -nostdlib -T rpikern.ld -print-gc-sections
-QEMU_FLAGS = -m 256 -M raspi2 -serial stdio
+QEMU_FLAGS = -m 1024 -M raspi2 -serial stdio -d guest_errors
$(bin): $(elf)
$(bin): $(elf)
@@
-52,3
+52,11
@@
cleandep:
.PHONY: run
run: $(elf)
qemu-system-arm $(QEMU_FLAGS) -kernel $(elf)
.PHONY: run
run: $(elf)
qemu-system-arm $(QEMU_FLAGS) -kernel $(elf)
+
+.PHONY: disasm
+disasm: $(elf)
+ $(toolprefix)objdump -d $<
+
+.PHONY: install
+install: $(bin)
+ cp $(bin) /srv/tftp/$(bin)