Reached the bootloader
This commit is contained in:
parent
74b0ac4fa8
commit
e74bafa7e4
@ -10,6 +10,7 @@ export HOST=x86_64-unknown-linux-musl
|
||||
# TODO: Where does /usr/com fit into all of this (shared state directory)? ~ahill
|
||||
mkdir -p $MAPLE/bin
|
||||
mkdir -p $MAPLE/boot
|
||||
mkdir -p $MAPLE/boot/EFI/BOOT/
|
||||
mkdir -p $MAPLE/dev
|
||||
mkdir -p $MAPLE/etc
|
||||
mkdir -p $MAPLE/home/root
|
||||
@ -370,3 +371,8 @@ ln -s clang $MAPLE/bin/cc
|
||||
ln -s clang++ $MAPLE/bin/c++
|
||||
ln -s ld.lld $MAPLE/bin/ld
|
||||
cd ..
|
||||
|
||||
cd ..
|
||||
|
||||
# Copy the necessary configuration files to the bootstrap
|
||||
cp limine.conf $MAPLE/boot/EFI/BOOT/
|
||||
@ -172,6 +172,11 @@ cd ncurses-*/
|
||||
--without-normal
|
||||
make -j $THREADS
|
||||
make -j $THREADS install
|
||||
# NOTE: These symbolic links are for backwards compatibility. Specifically, for
|
||||
# fixing "make menuconfig" for the Linux kernel, since it looks for the
|
||||
# non-wide version of the library. ~ahill
|
||||
ln -s libncursesw.so /lib/libncurses.so
|
||||
ln -s libncurses++w.so /lib/libncurses++.so
|
||||
cd ..
|
||||
|
||||
# zsh Build
|
||||
@ -413,4 +418,7 @@ LLVM=1 make -j $THREADS
|
||||
LLVM=1 make -j $THREADS install
|
||||
cd ..
|
||||
|
||||
# Finally, make the image bootable.
|
||||
cp /usr/share/limine/BOOTX64.EFI /boot/EFI/BOOT/
|
||||
|
||||
cd ..
|
||||
|
||||
6
limine.conf
Normal file
6
limine.conf
Normal file
@ -0,0 +1,6 @@
|
||||
timeout: 3
|
||||
|
||||
/Maple Linux
|
||||
protocol: linux
|
||||
path: boot():/vmlinuz
|
||||
module_string: root=/dev/vda2
|
||||
Loading…
x
Reference in New Issue
Block a user