diff options
author | Marvin Borner | 2019-10-12 20:20:29 +0200 |
---|---|---|
committer | Marvin Borner | 2019-10-12 20:20:29 +0200 |
commit | b2f80382659e739d5e37eefff1ebcdfd023bb9fb (patch) | |
tree | 0721a9c4ff0afe93453e15a9679de9583e25c59a /Makefile | |
parent | fc8b073f0756146904787006f2454db360892fb2 (diff) |
Optimized build process logging
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -11,7 +11,7 @@ clean: @echo Cleaned build directory build: clean - set -e; \ + @set -e; \ mkdir ./build/; \ # Assemble ASM files @@ -44,8 +44,8 @@ build: clean grub-mkrescue -o ./build/melvix.iso ./iso/; cross: - set -e; \ - [ -d "./cross/" ] && echo "Please remove cross/ and try again" && exit; \ + @set -e; \ + [ -d "./cross/" ] && echo "Please remove ./cross/ and try again" && exit; \ mkdir cross || exit; \ cd cross || exit; \ DIR=$$(pwd); \ @@ -72,7 +72,10 @@ cross: test: build debug debug: - rm -f qemu.log - qemu-system-x86_64 -soundhw pcspk -M accel=kvm:tcg -vga vmware -serial stdio -d cpu_reset -D qemu.log -m 512M -cdrom ./build/melvix.iso + @rm -f qemu.log + @echo "Starting simulation" + @echo "[SERIAL OUTPUT]" + @qemu-system-x86_64 -soundhw pcspk -M accel=kvm:tcg -vga vmware -serial stdio -d cpu_reset -D qemu.log -m 512M -cdrom ./build/melvix.iso + @echo "[END OF CONNECTION]" .PHONY: build clean cross test debug
\ No newline at end of file |