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:
parent
a29b68d806
commit
71f4bf793c
4 changed files with 8 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue