1
0
Fork 0
mirror of https://github.com/tailix/libkernaux.git synced 2024-12-11 11:35:27 -05:00

Better organize QEMU params

This commit is contained in:
Alex Kotov 2022-01-15 21:10:56 +05:00
parent a29b68d806
commit 71f4bf793c
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08
4 changed files with 8 additions and 8 deletions

View file

@ -6,7 +6,7 @@ AS = $(CCPREFIX)as
CC = $(CCPREFIX)gcc
CONFIG_LIBKERNAUX = ../../config/riscv64
QEMU = qemu-system-riscv64
QEMU = qemu-system-riscv64 -serial stdio -display none
BUILD_LIBKERNAUX = build-libkernaux
KERNEL = kernel.elf
@ -24,7 +24,7 @@ CFLAGS = \
OBJS = main.c.o start.S.o
run: $(KERNEL)
$(QEMU) -machine virt -bios $< -serial stdio -display none
$(QEMU) -machine virt -bios $<
clean:
make -C $(BUILD_LIBKERNAUX) distclean || true

View file

@ -9,7 +9,7 @@ CONFIG_LIBKERNAUX = ../../config/i386
DIFF = diff
GRUB_FILE = grub-file
GRUB_MKRESCUE = grub-mkrescue
QEMU = qemu-system-i386
QEMU = qemu-system-i386 -serial stdio -display none
BUILD_LIBKERNAUX = build-libkernaux
EXPECTED = expected.txt
@ -38,7 +38,7 @@ test: run
$(DIFF) -a -Z $(EXPECTED) $(OUTPUT)
run: $(IMAGE)
$(QEMU) -cdrom $< -serial stdio -display none | tee $(OUTPUT)
$(QEMU) -cdrom $< | tee $(OUTPUT)
clean:
make -C $(BUILD_LIBKERNAUX) distclean || true

View file

@ -9,7 +9,7 @@ CONFIG_LIBKERNAUX = ../../config/i386
DIFF = diff
GRUB_FILE = grub-file
LIMINE = ../../vendor/limine/build/bin
QEMU = qemu-system-x86_64
QEMU = qemu-system-x86_64 -serial stdio -display none
XORRISO = xorriso
BUILD_LIBKERNAUX = build-libkernaux
@ -53,7 +53,7 @@ test: run
$(DIFF) -a -Z $(EXPECTED) $(OUTPUT)
run: $(IMAGE)
$(QEMU) -cdrom $< -serial stdio -display none | tee $(OUTPUT)
$(QEMU) -cdrom $< | tee $(OUTPUT)
clean:
make -C $(BUILD_LIBKERNAUX) distclean || true

View file

@ -8,7 +8,7 @@ CC = $(CCPREFIX)gcc
CONFIG_LIBKERNAUX = ../../config/x86_64-stivale2
DIFF = diff
LIMINE = ../../vendor/limine/build/bin
QEMU = qemu-system-x86_64
QEMU = qemu-system-x86_64 -serial stdio -display none
XORRISO = xorriso
BUILD_LIBKERNAUX = build-libkernaux
@ -62,7 +62,7 @@ test: run
$(DIFF) -a -Z $(EXPECTED) $(OUTPUT)
run: $(IMAGE)
$(QEMU) -cdrom $< -serial stdio -display none | tee $(OUTPUT)
$(QEMU) -cdrom $< | tee $(OUTPUT)
clean:
make -C $(BUILD_LIBKERNAUX) distclean || true