mirror of
https://github.com/kenshineto/kern.git
synced 2025-04-21 20:57:25 +00:00
undo bad
This commit is contained in:
parent
0aab9ee135
commit
5fdf67c664
1 changed files with 1 additions and 6 deletions
7
Makefile
7
Makefile
|
@ -5,11 +5,6 @@
|
|||
|
||||
UNAME := $(shell uname)
|
||||
|
||||
GRUB = grub-mkrescue
|
||||
ifeq ($(UNAME), Darwin)
|
||||
GRUB = x86_64-elf-grub-mkrescue
|
||||
endif
|
||||
|
||||
QEMU = qemu-system-x86_64
|
||||
QEMUOPTS = -cdrom bin/os.iso \
|
||||
-no-reboot \
|
||||
|
@ -37,7 +32,7 @@ bin/os.iso: build
|
|||
mkdir -p bin/iso/boot/grub
|
||||
cp config/grub.cfg bin/iso/boot/grub
|
||||
cp bin/kernel bin/iso/boot
|
||||
$(GRUB) -o bin/os.iso bin/iso 2>/dev/null
|
||||
grub-mkrescue -o bin/os.iso bin/iso 2>/dev/null
|
||||
|
||||
fmt:
|
||||
clang-format -i $(shell find -type f -name "*.[ch]" -and -not -path "./kernel/old/*")
|
||||
|
|
Loading…
Add table
Reference in a new issue