Last active
August 2, 2017 04:43
-
-
Save sultanqasim/54f7befa22904f1914df to your computer and use it in GitHub Desktop.
Squid Kernel Build Script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export ARCH=arm | |
export CROSS_COMPILE=~/tiva_tools/gcc-linaro-6.3.1-2017.05-x86_64_armv8l-linux-gnueabihf/bin/armv8l-linux-gnueabihf- | |
OUT_DIR=/files/squid_kernel_builds | |
VER="r20" | |
set -e | |
cd /files/squid_kernel | |
git checkout squid_nougat | |
make mrproper | |
make lux_defconfig | |
make -j5 | |
./build_cwm_zip.sh | |
cp arch/arm/boot/squid_kernel.zip $OUT_DIR/squid_kernel_$VER-lux.zip | |
make harpia_defconfig | |
./build_cwm_zip.sh | |
cp arch/arm/boot/squid_kernel.zip $OUT_DIR/squid_kernel_$VER-harpia.zip | |
make merlin_defconfig | |
./build_cwm_zip.sh | |
cp arch/arm/boot/squid_kernel.zip $OUT_DIR/squid_kernel_$VER-merlin.zip | |
make osprey_defconfig | |
./build_cwm_zip.sh | |
cp arch/arm/boot/squid_kernel.zip $OUT_DIR/squid_kernel_$VER-osprey.zip | |
make surnia_defconfig | |
./build_cwm_zip.sh | |
cp arch/arm/boot/squid_kernel.zip $OUT_DIR/squid_kernel_$VER-surnia.zip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment