build_kernel.sh 347 B

123456789101112
  1. #!/bin/bash
  2. export ARCH=arm
  3. export CROSS_COMPILE=$(pwd)/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-
  4. mkdir output
  5. make -C $(pwd) O=output msm8974_sec_defconfig VARIANT_DEFCONFIG=msm8974pro_sec_klte_eur_defconfig SELINUX_DEFCONFIG=selinux_defconfig
  6. make -j64 -C $(pwd) O=output
  7. cp output/arch/arm/boot/Image $(pwd)/arch/arm/boot/zImage