Skip to content

Commit

Permalink
Update build to add new super.img dumping
Browse files Browse the repository at this point in the history
  • Loading branch information
Eliminater74 committed Dec 31, 2021
1 parent dfe2997 commit ac88910
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions bin/build
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,22 @@ mkdir -p output/system
mkdir -p output/image
mkdir -p output/logo

echo "Building [simg2img]"
make -C bin/src/simg2img/

echo "Building [Aml_image_extractor]"
gcc bin/src/aml_image_extractor.c -o bin/aml_image_extractor

cp bin/src/simg2img/simg2img bin/
cp bin/src/simg2img/img2simg bin/
mv bin/src/simg2img/simg2img bin/
mv bin/src/simg2img/img2simg bin/

echo "Building [abootimg]"
make -C bin/src/abootimg/
cp bin/src/abootimg/abootimg bin/
mv bin/src/abootimg/abootimg bin/

echo "Building [lpunpack_and_lpmake Tools: lpadd, lpdump, lpflash, lpmake, lpunpack]"
bin/src/lpunpack_and_lpmake/make.sh
mv bin/src/lpunpack_and_lpmake/bin/* bin/
rm -rf bin/src/lpunpack_and_lpmake/bin

echo "Build done"

0 comments on commit ac88910

Please sign in to comment.