Remove redundant bootloader Makefile

This commit is contained in:
K. Lange 2018-03-15 10:20:37 +09:00 committed by Kevin Lange
parent f485e41345
commit 7ea317780a
1 changed files with 0 additions and 19 deletions

View File

@ -1,19 +0,0 @@
KERNEL_TARGET=i686-elf
KCC = $(KERNEL_TARGET)-gcc
KAS = $(KERNEL_TARGET)-as
KLD = $(KERNEL_TARGET)-ld
all: image.iso
image.iso: stuff/boot/boot.sys
xorriso -as mkisofs -R -J -c boot/bootcat -b boot/boot.sys -no-emul-boot -boot-load-size 20 -o image.iso stuff
cstuff.o: cstuff.c ata.h atapi_imp.h elf.h iso9660.h multiboot.h text.h types.h util.h
${KCC} -c -Os -o cstuff.o cstuff.c
boot.o: boot.s
yasm -f elf -o $@ $<
stuff/boot/boot.sys: boot.o cstuff.o link.ld
${KLD} -T link.ld -o $@ boot.o cstuff.o