X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=rpikern;a=blobdiff_plain;f=Makefile;h=b4aa3a5a0720e170aa1aa9f9e2afcf07caa9be45;hp=3b1243817b92a8712d8d21fe32f9f97558402344;hb=99bdc8838f189f79ba77bfbbf41d7f1b4839ce0f;hpb=e848811902a51b67dedb6f6325dda19a6f21e820 diff --git a/Makefile b/Makefile index 3b12438..b4aa3a5 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 -fno-pic -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 1024 -M raspi2 -serial stdio -d guest_errors +QEMU_FLAGS = -vnc :0 -m 1024 -M raspi2 -serial stdio -d guest_errors $(bin): $(elf) @@ -58,6 +58,5 @@ disasm: $(elf) $(toolprefix)objdump -d $< .PHONY: install -install: $(bin) $(elf) +install: $(bin) cp $(bin) /srv/tftp/$(bin) - cp $(elf) /srv/tftp/$(elf)