Skip to content

Commit

Permalink
buildscript: print build runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
ghazzor committed Sep 28, 2024
1 parent ec25bec commit bbd73e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
[ ! -e "KernelSU/kernel/setup.sh" ] && git submodule init && git submodule update
[ ! -d "toolchain" ] && echo "installing toolchain..." && bash init_clang.sh

SECONDS=0
export KBUILD_BUILD_USER=ghazzor

PATH=$PWD/toolchain/bin:$PATH
Expand Down Expand Up @@ -112,3 +113,4 @@ done
#Zip
cd ${AnyKernel3}
zip -r9 O_KERNEL.${kmod}_${DEVICE}${KSUSTAT}${testbld}-${TIME}.zip * -x .git README.md *placeholder
echo -e "\nCompleted in $((SECONDS / 60))m $((SECONDS % 60))s"

0 comments on commit bbd73e1

Please sign in to comment.