Skip to content

Commit

Permalink
small changes in build script
Browse files Browse the repository at this point in the history
added command to freshly build the kernel..
  • Loading branch information
Thiviyan committed Sep 5, 2020
1 parent e3a88e1 commit 2d051d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ export CROSS_COMPILE=/home/sleepy/android/toolchains/GCC-10/bin/aarch64-linux-el
#export CROSS_COMPILE_ARM32=/home/sleepy/Lineage-GCC/android_prebuilts_gcc_linux-x86_arm_arm-linux-androideabi-4.9/bin/arm-linux-androideabi-
export CROSS_COMPILE_ARM32=/mnt/kernels/caf_kernel_zte_msm8996/toolchains/arm32-gcc/bin/arm-eabi-


rm -rf out
rm -rf build
BUILD="/mnt/kernels/caf_kernel_zte_msm8996/build"
OUT="/mnt/kernels/caf_kernel_zte_msm8996/out"
#NPR=`expr $(nproc) + 1`
Expand All @@ -26,7 +27,6 @@ make O="$BUILD" -j8 INSTALL_MOD_PATH=MODULES_OUT modules_install

mkdir -p $OUT/modules
mv "$BUILD/arch/arm64/boot/Image.gz-dtb" "$OUT/Image.gz-dtb"
rm -rf $OUT
mv "$BUILD/MODULES_OUT" "$OUT/modules"

echo "Image.gz-dtb & modules can be found in $BUILD"
Expand Down

0 comments on commit 2d051d2

Please sign in to comment.