Luna/tools/setup-mkbootimg.sh
2022-09-05 16:13:51 +02:00

19 lines
248 B
Bash
Executable File

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