scripts & makefiles
This commit is contained in:
Binary file not shown.
@@ -9,7 +9,7 @@ cp -v kernel/build/kernel.elf iso_root/boot
|
|||||||
cp -v boot/limine/limine-bios.sys boot/limine/limine-bios-cd.bin \
|
cp -v boot/limine/limine-bios.sys boot/limine/limine-bios-cd.bin \
|
||||||
boot/limine/limine-uefi-cd.bin boot/limine.conf iso_root/boot/limine
|
boot/limine/limine-uefi-cd.bin boot/limine.conf iso_root/boot/limine
|
||||||
|
|
||||||
cp -v boot/limine/BOOTX64.EFI iso_root/EFI/BOOT
|
cp -v boot/limine/BOOTX64.EFI boot/limine/BOOTIA32.EFI iso_root/EFI/BOOT
|
||||||
|
|
||||||
cp -v mop3dist.tar.lz4 iso_root/boot
|
cp -v mop3dist.tar.lz4 iso_root/boot
|
||||||
|
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ while [[ $# -gt 0 ]]; do
|
|||||||
;;
|
;;
|
||||||
--uefi)
|
--uefi)
|
||||||
QEMU_EXTRA+=" -drive if=pflash,format=raw,readonly=on,file=./OVMF/OVMF_CODE.fd \
|
QEMU_EXTRA+=" -drive if=pflash,format=raw,readonly=on,file=./OVMF/OVMF_CODE.fd \
|
||||||
-drive if=pflash,format=raw,file=./OVMF/OVMF_VARS.fd "
|
-drive if=pflash,format=raw,snapshot=on,file=./OVMF/OVMF_VARS.fd "
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|||||||
@@ -1,14 +1,16 @@
|
|||||||
LIMINE_OPTS=--enable-bios-cd \
|
LIMINE_OPTS=--enable-bios-cd \
|
||||||
--enable-bios \
|
--enable-bios \
|
||||||
--enable-uefi-x86-64 \
|
--enable-uefi-x86-64 \
|
||||||
|
--enable-uefi-ia32 \
|
||||||
--enable-uefi-cd
|
--enable-uefi-cd
|
||||||
|
|
||||||
all_limine:
|
all_limine:
|
||||||
|
rm -rf build_limine && \
|
||||||
mkdir -p build_limine && \
|
mkdir -p build_limine && \
|
||||||
cd build_limine && \
|
cd build_limine && \
|
||||||
../Limine/bootstrap && \
|
../Limine/bootstrap && \
|
||||||
../Limine/configure $(LIMINE_OPTS) && \
|
../Limine/configure $(LIMINE_OPTS) && \
|
||||||
make -j $(nproc) && \
|
make && \
|
||||||
rm -rf ../boot/limine && \
|
rm -rf ../boot/limine && \
|
||||||
cp -r ./bin ../boot/limine
|
cp -r ./bin ../boot/limine
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user