目录
px3
#!/bin/bash
KSRC=/opt/px3/rkpx3/kernel
export PATH=${PATH}:/opt/px3/rkpx3/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin
export CROSS_COMPILE=arm-eabi-
if [ "$1" = "clean" ]; then
make clean M=`pwd` -C ${KSRC}
else
make modules M=`pwd` -C ${KSRC}
fi
rk1808
#!/bin/bash
KSRC=/data/rk1808_linux/kernel
export PATH=${PATH}:/data/rk1808_linux/prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin
export CROSS_COMPILE=aarch64-linux-gnu-
if [ "$1" = "clean" ]; then
make clean M=`pwd` -C ${KSRC}
else
make modules M=`pwd` -C ${KSRC}
fi
px30
#!/bin/bash
KSRC=/data/px30/px30/kernel
export PATH=${PATH}:/data/px30/px30/prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.