Luna/tools/setup-mkbootimg.sh
apio 77560bbc3e
All checks were successful
continuous-integration/drone/push Build is passing
kernel+tools: Allow loading files with different owners + add a more dynamic install script
2023-05-06 12:11:35 +02:00

22 lines
322 B
Bash
Executable File

#!/usr/bin/env bash
set -e
source $(dirname $0)/env.sh
cd $LUNA_ROOT
mkdir -p toolchain/dist
cd toolchain
git clone https://gitlab.com/bztsrc/bootboot.git
patch -u -i $LUNA_ROOT/tools/mkbootimg.patch -p 1 -d bootboot
cd bootboot/mkbootimg
make -j$(nproc)
cp ./mkbootimg ../../dist/mkbootimg
rm ../mkbootimg-*.zip