X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=rpikern;a=blobdiff_plain;f=Makefile;fp=Makefile;h=f61f3401d156e6c7039d47145b4e576cc949fd49;hp=739bfddcaba376b89f3b929c2f50c537e6fa8bfa;hb=4cdb0feb633bc6181644704cea8f18368b5bcfd1;hpb=e3851fa5fc01560a8ab799046b7cf0d2f35f18e8 diff --git a/Makefile b/Makefile index 739bfdd..f61f340 100644 --- a/Makefile +++ b/Makefile @@ -18,8 +18,9 @@ endif 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) @@ -48,6 +49,6 @@ clean: cleandep: rm -f $(dep) -.PHONY: debug -debug: $(elf) +.PHONY: run +run: $(elf) qemu-system-arm $(QEMU_FLAGS) -kernel $(elf)