comparison src/makefile-armclang @ 17:c0f6f3eb25ae

argccbc
author kono
date Sun, 25 Feb 2018 18:48:39 +0900
parents 7eb81a3c4b29
children d058830337d9
comparison
equal deleted inserted replaced
16:7eb81a3c4b29 17:c0f6f3eb25ae
62 rm -f initcode fs.img 62 rm -f initcode fs.img
63 63
64 qemu: kernel.elf 64 qemu: kernel.elf
65 @clear 65 @clear
66 @echo "Press Ctrl-A and then X to terminate QEMU session\n" 66 @echo "Press Ctrl-A and then X to terminate QEMU session\n"
67 $(QEMU) -M versatilepb -m 128 -cpu arm1176 -nographic -kernel kernel.elf 67 export QEMU_AUDIO_DRV=none ; $(QEMU) -M versatilepb -m 128 -cpu arm1176 -nographic -soundhw hda -kernel kernel.elf
68
69 qemu-debug : kernel.elf
70 @clear
71 @echo "Press Ctrl-A and then X to terminate QEMU session\n"
72 export QEMU_AUDIO_DRV=none ; $(QEMU) -M versatilepb -m 128 -cpu arm1176 -nographic -singlestep -d exec,cpu,guest_errors -D qemu.log -kernel kernel.elf -s -S
68 73
69 INITCODE_OBJ = initcode.o 74 INITCODE_OBJ = initcode.o
70 $(addprefix build/,$(INITCODE_OBJ)): initcode.S 75 $(addprefix build/,$(INITCODE_OBJ)): initcode.S
71 $(call build-directory) 76 $(call build-directory)
72 $(call AS_WITH, -nostdinc -I.) 77 $(call AS_WITH, -nostdinc -I.)