Makefile fixes

This commit is contained in:
mintsuki 2021-03-02 10:42:35 +01:00
parent edd4a8de60
commit 6d756cf78b
2 changed files with 3 additions and 4 deletions

View File

@ -44,7 +44,7 @@ endif
bootloader-clean: stage23-clean decompressor-clean bootloader-clean: stage23-clean decompressor-clean
distclean: clean bootloader-clean test-clean distclean: clean bootloader-clean test-clean
rm -rf bin stivale toolchain rm -rf bin stivale toolchain ovmf gnu-efi
stivale: stivale:
git clone https://github.com/stivale/stivale.git git clone https://github.com/stivale/stivale.git
@ -75,8 +75,7 @@ gnu-efi:
ovmf: ovmf:
mkdir -p ovmf mkdir -p ovmf
wget https://efi.akeo.ie/OVMF/OVMF-X64.zip cd ovmf && wget https://efi.akeo.ie/OVMF/OVMF-X64.zip && 7z x OVMF-X64.zip
cd ovmf && 7z x OVMF-X64.zip
test.hdd: test.hdd:
rm -f test.hdd rm -f test.hdd

View File

@ -139,4 +139,4 @@ else ifeq ($(TARGET), uefi)
endif endif
clean: 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)