mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-01 18:39:16 +00:00
Update submodules
This commit is contained in:
@ -20,28 +20,23 @@ do_ep:
|
||||
do_limine:
|
||||
git clone https://github.com/limine-bootloader/limine.git --branch=v6.x-branch-binary --depth=1
|
||||
|
||||
clone_all:
|
||||
git clone -b binutils-2_42-branch --single-branch https://github.com/Fennix-Project/binutils-gdb.git binutils-gdb
|
||||
git clone -b releases/gcc-13 --single-branch https://github.com/Fennix-Project/gcc.git gcc
|
||||
__clone_qemu:
|
||||
wget https://download.qemu.org/qemu-${QEMU_VERSION}.tar.xz
|
||||
tar xvJf qemu-${QEMU_VERSION}.tar.xz
|
||||
rm -f qemu-${QEMU_VERSION}.tar.xz
|
||||
mv qemu-${QEMU_VERSION} qemu
|
||||
|
||||
__clone_all_no_qemu:
|
||||
git clone -b binutils-2_42-branch --single-branch https://github.com/Fennix-Project/binutils-gdb.git binutils-gdb
|
||||
git clone -b releases/gcc-13 --single-branch https://github.com/Fennix-Project/gcc.git gcc
|
||||
cd gcc && $(shell ./contrib/download_prerequisites)
|
||||
mkdir -p cross
|
||||
mkdir -p qemu
|
||||
mkdir -p build-binutils64
|
||||
mkdir -p build-gcc64
|
||||
mkdir -p build-binutils32
|
||||
mkdir -p build-gcc32
|
||||
|
||||
__clone_all_no_qemu:
|
||||
git clone https://github.com/Fennix-Project/binutils-gdb.git binutils-gdb
|
||||
git clone https://github.com/Fennix-Project/gcc.git gcc
|
||||
mkdir -p cross
|
||||
mkdir -p build-binutils64
|
||||
mkdir -p build-gcc64
|
||||
mkdir -p build-binutils32
|
||||
mkdir -p build-gcc32
|
||||
clone_all: __clone_qemu __clone_all_no_qemu
|
||||
|
||||
do_qemu:
|
||||
cd qemu && \
|
||||
|
@ -7,9 +7,9 @@ menuentry "Fennix" {
|
||||
load_video
|
||||
clear
|
||||
echo "Loading kernel"
|
||||
multiboot2 /fennix.elf --ioapicirq=1 --udl=true --simd=true
|
||||
multiboot2 /fennix.elf --ioapicirq=1 --udl=true --simd=true --linux=true --init=/bin/init
|
||||
echo "Loading initrd"
|
||||
module2 /initrd.tar.gz initrd
|
||||
module2 /initrd.tar initrd
|
||||
echo "Booting..."
|
||||
boot
|
||||
}
|
||||
@ -24,6 +24,14 @@ if [ ${grub_platform} == "efi" ]; then
|
||||
}
|
||||
fi
|
||||
|
||||
menuentry "System restart" {
|
||||
reboot
|
||||
}
|
||||
|
||||
menuentry "System shutdown" {
|
||||
halt
|
||||
}
|
||||
|
||||
function load_video {
|
||||
if [ x$feature_all_video_module = xy ]; then
|
||||
insmod all_video
|
||||
|
@ -8,5 +8,5 @@ INTERFACE_BRANDING=Fennix
|
||||
KERNEL_CMDLINE=--ioapicirq=1 --udl=true --simd=true
|
||||
KERNEL_PATH=boot:///fennix.elf
|
||||
|
||||
MODULE_PATH=boot:///initrd.tar.gz
|
||||
MODULE_PATH=boot:///initrd.tar
|
||||
MODULE_CMDLINE=initrd
|
||||
|
@ -1,2 +1,2 @@
|
||||
CMDLINE=debug
|
||||
INITRD=initrd.tar.gz
|
||||
INITRD=initrd.tar
|
||||
|
Reference in New Issue
Block a user