diff --git a/GNUmakefile.in b/GNUmakefile.in index c8394751..3416584b 100644 --- a/GNUmakefile.in +++ b/GNUmakefile.in @@ -347,7 +347,7 @@ ext2-test: $(MAKE) test.hdd $(MAKE) limine-bios $(MAKE) limine-deploy - $(MAKE) -C test + $(MAKE) -C test CROSS_FILE='$(call SHESCAPE,$(BUILDDIR))/cross-files/x86_64-toolchain.mk' rm -rf test_image/ mkdir test_image sudo losetup -Pf --show test.hdd > loopback_dev @@ -370,7 +370,7 @@ fat12-test: $(MAKE) test.hdd $(MAKE) limine-bios $(MAKE) limine-deploy - $(MAKE) -C test + $(MAKE) -C test CROSS_FILE='$(call SHESCAPE,$(BUILDDIR))/cross-files/x86_64-toolchain.mk' rm -rf test_image/ mkdir test_image sudo losetup -Pf --show test.hdd > loopback_dev @@ -393,7 +393,7 @@ fat16-test: $(MAKE) test.hdd $(MAKE) limine-bios $(MAKE) limine-deploy - $(MAKE) -C test + $(MAKE) -C test CROSS_FILE='$(call SHESCAPE,$(BUILDDIR))/cross-files/x86_64-toolchain.mk' rm -rf test_image/ mkdir test_image sudo losetup -Pf --show test.hdd > loopback_dev @@ -417,7 +417,7 @@ legacy-fat16-test: fdisk -l mbrtest.hdd $(MAKE) limine-bios $(MAKE) limine-deploy - $(MAKE) -C test + $(MAKE) -C test CROSS_FILE='$(call SHESCAPE,$(BUILDDIR))/cross-files/x86_64-toolchain.mk' rm -rf test_image/ mkdir test_image sudo losetup -Pf --show mbrtest.hdd > loopback_dev @@ -440,7 +440,7 @@ fat32-test: $(MAKE) test.hdd $(MAKE) limine-bios $(MAKE) limine-deploy - $(MAKE) -C test + $(MAKE) -C test CROSS_FILE='$(call SHESCAPE,$(BUILDDIR))/cross-files/x86_64-toolchain.mk' rm -rf test_image/ mkdir test_image sudo losetup -Pf --show test.hdd > loopback_dev @@ -462,7 +462,7 @@ iso9660-test: $(MAKE) test-clean $(MAKE) test.hdd $(MAKE) limine-bios - $(MAKE) -C test + $(MAKE) -C test CROSS_FILE='$(call SHESCAPE,$(BUILDDIR))/cross-files/x86_64-toolchain.mk' rm -rf test_image/ $(MKDIR_P) test_image/boot sudo cp -rv $(BINDIR)/* test_image/boot/ @@ -476,7 +476,7 @@ full-hybrid-test: $(MAKE) ovmf-ia32 $(MAKE) test-clean $(MAKE) all - $(MAKE) -C test + $(MAKE) -C test CROSS_FILE='$(call SHESCAPE,$(BUILDDIR))/cross-files/x86_64-toolchain.mk' rm -rf test_image/ $(MKDIR_P) test_image/boot sudo cp -rv $(BINDIR)/* test_image/boot/ @@ -494,7 +494,7 @@ full-hybrid-test: pxe-test: $(MAKE) test-clean $(MAKE) limine-bios - $(MAKE) -C test + $(MAKE) -C test CROSS_FILE='$(call SHESCAPE,$(BUILDDIR))/cross-files/x86_64-toolchain.mk' rm -rf test_image/ $(MKDIR_P) test_image/boot sudo cp -rv $(BINDIR)/* test_image/boot/ @@ -523,7 +523,7 @@ uefi-x86-64-test: sudo umount test_image/ sudo losetup -d `cat loopback_dev` rm -rf test_image loopback_dev - qemu-system-x86_64 -m 512M -M q35 -L ovmf -bios ovmf-x64/OVMF.fd -net none -smp 4 -hda test.hdd -debugcon stdio + qemu-system-x86_64 -m 512M -M q35 -bios ovmf-x64/OVMF.fd -net none -smp 4 -hda test.hdd -debugcon stdio .PHONY: uefi-aa64-test uefi-aa64-test: @@ -541,13 +541,13 @@ uefi-aa64-test: sudo mkdir test_image/boot sudo cp -rv $(BINDIR)/* test_image/boot/ sudo cp -rv test/* test_image/boot/ - sudo mkdir -p test_image/EFI/BOOT + sudo $(MKDIR_P) test_image/EFI/BOOT sudo cp $(BINDIR)/BOOTAA64.EFI test_image/EFI/BOOT/ sync sudo umount test_image/ sudo losetup -d `cat loopback_dev` rm -rf test_image loopback_dev - qemu-system-aarch64 -m 512M -M virt -cpu cortex-a72 -L ovmf -bios ovmf-aa64/OVMF.fd -net none -smp 4 -device ramfb -device qemu-xhci -device usb-kbd -hda test.hdd -serial stdio + qemu-system-aarch64 -m 512M -M virt -cpu cortex-a72 -bios ovmf-aa64/OVMF.fd -net none -smp 4 -device ramfb -device qemu-xhci -device usb-kbd -hda test.hdd -serial stdio .PHONY: uefi-ia32-test uefi-ia32-test: @@ -571,4 +571,4 @@ uefi-ia32-test: sudo umount test_image/ sudo losetup -d `cat loopback_dev` rm -rf test_image loopback_dev - qemu-system-x86_64 -m 512M -M q35 -L ovmf -bios ovmf-ia32/OVMF.fd -net none -smp 4 -hda test.hdd -debugcon stdio + qemu-system-x86_64 -m 512M -M q35 -bios ovmf-ia32/OVMF.fd -net none -smp 4 -hda test.hdd -debugcon stdio