Update files

This commit is contained in:
EnderIce2
2024-01-19 06:53:16 +02:00
parent 23ad9e3b5d
commit a18b24e859
55 changed files with 178 additions and 72 deletions

View File

@ -1,3 +0,0 @@
# Doxygen
This is a README file for Doxygen.

View File

@ -2,9 +2,9 @@ WORKING_DIR = $(shell pwd)
CROSS_DIR=$(WORKING_DIR)/cross
export PATH := $(CROSS_DIR):$(PATH)
QEMU_VERSION = qemu-7.1.0
QEMU_VERSION = 8.1.2
all: do_rep do_ep do_fex do_limine clone_all do_binutils_64 do_gcc_64 do_binutils_32 do_gcc_32 do_qemu
all: do_rep do_ep do_limine clone_all do_binutils_64 do_gcc_64 do_binutils_32 do_gcc_32 do_qemu
clean:
rm -f rep ep fex
@ -17,20 +17,16 @@ do_ep:
g++ -w ErrorParser.cpp -o ep
chmod +x ep
do_fex:
gcc -w Fex.c -o fex
chmod +x fex
do_limine:
git clone https://github.com/limine-bootloader/limine.git --branch=v4.x-branch-binary --depth=1
git clone https://github.com/limine-bootloader/limine.git --branch=v6.x-branch-binary --depth=1
clone_all:
git clone https://github.com/Fennix-Project/binutils-gdb.git binutils-gdb
git clone https://github.com/Fennix-Project/gcc.git gcc
wget https://download.qemu.org/${QEMU_VERSION}.tar.xz
tar xvJf ${QEMU_VERSION}.tar.xz
rm -f ${QEMU_VERSION}.tar.xz
mv ${QEMU_VERSION} 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
mkdir -p cross
mkdir -p qemu
mkdir -p build-binutils64
@ -49,17 +45,25 @@ __clone_all_no_qemu:
do_qemu:
cd qemu && \
bash ./configure --target-list=x86_64-softmmu,i386-softmmu,aarch64-softmmu --prefix="$(CROSS_DIR)" --enable-gtk && \
bash ./configure --target-list=x86_64-softmmu,i386-softmmu,aarch64-softmmu \
--prefix="$(CROSS_DIR)" \
--enable-gtk --disable-tools \
--disable-gio --disable-virtfs --disable-vnc \
--disable-opengl && \
make -j$(shell nproc) && make install
do_binutils_64:
cd build-binutils64 && \
../binutils-gdb/configure --target=x86_64-fennix --prefix="$(CROSS_DIR)" --with-sysroot --enable-shared --disable-werror && \
../binutils-gdb/configure --target=x86_64-fennix \
--prefix="$(CROSS_DIR)" \
--with-sysroot --enable-shared --disable-werror && \
make all -j$(shell nproc) && make install
do_gcc_64:
cd build-gcc64 && \
../gcc/configure --target=x86_64-fennix --prefix="$(CROSS_DIR)" --enable-languages=c,c++ --enable-shared --without-headers && \
../gcc/configure --target=x86_64-fennix \
--prefix="$(CROSS_DIR)" \
--enable-languages=c,c++ --enable-shared --without-headers && \
make all-gcc -j$(shell nproc) && \
make all-target-libgcc -j$(shell nproc) && \
make install-gcc -j$(shell nproc) && \
@ -67,12 +71,16 @@ do_gcc_64:
do_binutils_32:
cd build-binutils32 && \
../binutils-gdb/configure --target=i386-fennix --prefix="$(CROSS_DIR)" --with-sysroot --enable-shared --disable-werror && \
../binutils-gdb/configure --target=i386-fennix \
--prefix="$(CROSS_DIR)" \
--with-sysroot --enable-shared --disable-werror && \
make all -j$(shell nproc) && make install
do_gcc_32:
cd build-gcc32 && \
../gcc/configure --target=i386-fennix --prefix="$(CROSS_DIR)" --enable-languages=c,c++ --enable-shared --without-headers && \
../gcc/configure --target=i386-fennix \
--prefix="$(CROSS_DIR)" \
--enable-languages=c,c++ --enable-shared --without-headers && \
make all-gcc -j$(shell nproc) && \
make all-target-libgcc -j$(shell nproc) && \
make install-gcc -j$(shell nproc) && \

View File

@ -7,7 +7,7 @@ menuentry "Fennix" {
load_video
clear
echo "Loading kernel"
multiboot2 /kernel.fsys --ioapicirq=1 --linux=false --ioc=true --udl=true --simd=true
multiboot2 /fennix.elf --ioapicirq=1 --ioc=true --udl=true --simd=true
echo "Loading initrd"
module2 /initrd.tar.gz initrd
echo "Booting..."

View File

@ -5,8 +5,8 @@ INTERFACE_BRANDING=Fennix
# DO NOT EDIT!
COMMENT=Boot Fennix using limine protocol
PROTOCOL=limine
KERNEL_CMDLINE=--ioapicirq=1 --linux=false --ioc=true --udl=true --simd=true
KERNEL_PATH=boot:///kernel.fsys
KERNEL_CMDLINE=--ioapicirq=1 --ioc=true --udl=true --simd=true
KERNEL_PATH=boot:///fennix.elf
MODULE_PATH=boot:///initrd.tar.gz
MODULE_CMDLINE=initrd

View File

@ -25,7 +25,7 @@
<a class="hdrbtn" href="/fulldoc"><i class="fa-solid fa-book-bookmark"></i> Full Documentation</a>
<a class="hdrbtn" href="/lynx"><i class="fa-solid fa-file-code"></i> Lynx Bootloader</a>
<a class="hdrbtn" href="/kernel"><i class="fa-solid fa-file-code"></i> Kernel</a>
<a class="hdrbtn" href="/modules"><i class="fa-solid fa-file-code"></i> Modules</a>
<a class="hdrbtn" href="/drivers"><i class="fa-solid fa-file-code"></i> Drivers</a>
<a class="hdrbtn" href="/userspace"><i class="fa-solid fa-file-code"></i> Userspace</a>
<a class="hdrbtn" style="float:right" href="https://github.com/Fennix-Project/Fennix/releases/latest"><i
class="fa-solid fa-download"></i> Download</a>

View File

@ -1,6 +1,6 @@
User-agent: *
Disallow: /userspace/
Disallow: /modules/
Disallow: /drivers/
Disallow: /kernel/
Disallow: /lynx/
Disallow: /fulldoc/