X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=rpikern;a=blobdiff_plain;f=Makefile;h=24a3fb6eeaa577d4380135ed6d24df8c905e3125;hp=09484e084a784024a3ceb7cc1bf8a0d66dafa25e;hb=6da291dc416a718164b5596aa16b1901f2770732;hpb=322d8fe4bf7ecd74ffb5288539efd3db828aa72a diff --git a/Makefile b/Makefile index 09484e0..24a3fb6 100644 --- a/Makefile +++ b/Makefile @@ -17,8 +17,8 @@ endif 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 @@ -26,7 +26,7 @@ CFLAGS = $(arch) $(warn) $(opt) $(dbg) $(gccopt) $(inc) $(def) ASFLAGS = $(arch) $(dbg) $(inc) LDFLAGS = -nostdlib -T rpikern.ld -print-gc-sections -QEMU_FLAGS = -m 256 -M raspi2 -serial stdio -d guest_errors +QEMU_FLAGS = -m 1024 -M raspi2 -serial stdio -d guest_errors $(bin): $(elf) @@ -56,3 +56,7 @@ run: $(elf) .PHONY: disasm disasm: $(elf) $(toolprefix)objdump -d $< + +.PHONY: install +install: $(bin) + cp $(bin) /srv/tftp/$(bin)