Luna/tools/setup-mkbootimg.sh

19 lines
248 B
Bash
Raw Normal View History

2022-09-05 14:13:51 +00:00
#!/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