mirror of
https://github.com/tailix/kernel.git
synced 2024-10-30 12:03:52 -04:00
Move MB2 check
This commit is contained in:
parent
8527152156
commit
2adfc1feba
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -48,7 +48,6 @@ OBJS += hwint.c.o
|
|||
OBJS += syscall.c.o
|
||||
|
||||
run: $(KERNEL)
|
||||
grub-file --is-x86-multiboot2 $(KERNEL)
|
||||
grub-mkrescue rootfs -o $(IMAGE)
|
||||
qemu-system-i386 -cdrom $(IMAGE)
|
||||
|
||||
|
@ -61,6 +60,7 @@ clean:
|
|||
|
||||
$(KERNEL): $(OBJS)
|
||||
$(CC) -T linker.ld -o $(KERNEL) -ffreestanding -nostdlib -lgcc $(OBJS)
|
||||
grub-file --is-x86-multiboot2 $(KERNEL)
|
||||
|
||||
%.c.o: %.c
|
||||
$(CC) -c $< -o $@ $(CFLAGS)
|
||||
|
|
Loading…
Reference in a new issue