:: commit 6d756cf78be9e507c483e359da6db730fd72163e

mintsuki <mintsuki@protonmail.com> — 2021-03-02 09:42

parents: edd4a8de60

Makefile fixes

diff --git a/Makefile b/Makefile
index e48f3a78..371e0a16 100644
--- a/Makefile
+++ b/Makefile
@@ -44,7 +44,7 @@ endif
 bootloader-clean: stage23-clean decompressor-clean
 
 distclean: clean bootloader-clean test-clean
-	rm -rf bin stivale toolchain
+	rm -rf bin stivale toolchain ovmf gnu-efi
 
 stivale:
 	git clone https://github.com/stivale/stivale.git
@@ -75,8 +75,7 @@ gnu-efi:
 
 ovmf:
 	mkdir -p ovmf
-	wget https://efi.akeo.ie/OVMF/OVMF-X64.zip
-	cd ovmf && 7z x OVMF-X64.zip
+	cd ovmf && wget https://efi.akeo.ie/OVMF/OVMF-X64.zip && 7z x OVMF-X64.zip
 
 test.hdd:
 	rm -f test.hdd
diff --git a/stage23/Makefile b/stage23/Makefile
index 68afb6fa..b4d04cd9 100644
--- a/stage23/Makefile
+++ b/stage23/Makefile
@@ -139,4 +139,4 @@ else ifeq ($(TARGET), uefi)
 endif
 
 clean:
-	rm -f limine.elf limine_nomap.elf limine_stage2only.elf font.o limine.map.o limine.sys stage2.bin stage2.bin.gz $(OBJ) $(HEADER_DEPS)
+	rm -f limine.elf limine_nomap.elf limine_stage2only.elf font.o limine.map.o limine.sys stage2.bin stage2.bin.gz BOOTX64.EFI $(OBJ) $(HEADER_DEPS)
tab: 248 wrap: offon