diff options
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 24 |
1 files changed, 21 insertions, 3 deletions
@@ -3,6 +3,19 @@ set -e mkdir -p lib/ +SYSTEM_NAME="$(uname -s)" +MAKE="make" +GIT="git" +GCC="gcc" +CLANG="clang" + + +if [ "$SYSTEM_NAME" = "OpenBSD" ] +then + MAKE="$(which gmake)" +fi + + # arg0: Output path. # arg1: Command for downloading try_fetch() { @@ -23,20 +36,25 @@ prepare() { } fetch() { - try_fetch "git clone https://github.com/limine-bootloader/limine.git --branch=v6.x-branch-binary --depth=1" "stand/limine" + try_fetch "git clone https://github.com/limine-bootloader/limine.git --branch=v9.3.0-binary --depth=1" "stand/limine" } build_limine() { - make -C stand/limine/ + $MAKE -C stand/limine/ } build_kconf() { - make -C tools/kconf/ + $MAKE -C tools/kconf/ +} + +build_omar() { + $MAKE -C tools/omar/ } build() { build_limine build_kconf + build_omar } echo "----------------------------------" |