mirror of
https://github.com/cowmonk/cowos.git
synced 2025-10-27 14:33:27 +00:00
cowos moves to 64bit! and framebuffers too ig
This commit is contained in:
parent
b78e4fc24d
commit
babc65305d
32 changed files with 4074 additions and 146 deletions
28
Makefile
Normal file
28
Makefile
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
all: iso
|
||||
|
||||
iso: kernel limine
|
||||
cp -v ./kernel/bin/cowos ./isodir/boot/
|
||||
|
||||
xorriso -as mkisofs -R -r -J -b boot/limine/limine-bios-cd.bin \
|
||||
-no-emul-boot -boot-load-size 4 -boot-info-table -hfsplus \
|
||||
-apm-block-size 2048 --efi-boot boot/limine/limine-uefi-cd.bin \
|
||||
-efi-boot-part --efi-boot-image --protective-msdos-label \
|
||||
isodir -o cowos.iso
|
||||
|
||||
./limine/limine bios-install cowos.iso
|
||||
|
||||
kernel:
|
||||
make -C ./kernel/ all
|
||||
|
||||
limine:
|
||||
git clone https://github.com/limine-bootloader/limine.git --branch=v9.x-binary --depth=1
|
||||
make -C limine
|
||||
|
||||
cp -v limine/limine-bios.sys limine/limine-bios-cd.bin \
|
||||
limine/limine-uefi-cd.bin isodir/boot/limine/
|
||||
|
||||
cp -v limine/BOOTX64.EFI isodir/EFI/BOOT/
|
||||
cp -v limine/BOOTIA32.EFI isodir/EFI/BOOT/
|
||||
|
||||
clean:
|
||||
rm cowos.iso
|
||||
Loading…
Add table
Add a link
Reference in a new issue