目录
px3
rk1808
px30
ag215s
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 SUBDIRS=`pwd` -C ${KSRC}
else
make modules SUBDIRS=`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 SUBDIRS=`pwd` -C ${KSRC}
else
make modules SUBDIRS=`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.3.1-2017.05-x86_64_aarch64-linux-gnu/bin
export CROSS_COMPILE=aarch64-linux-gnu-
if [ "$1" = "clean" ]; then
make clean SUBDIRS=`pwd` -C ${KSRC}
else
make modules SUBDIRS=`pwd` -C ${KSRC}
fi
ag215s
#!/bin/bash
KSRC=/opt/ag215s/oecore-x86_64/sysroots/aarch64-oe-linux/lib/modules/4.14.206/build
export PATH=${PATH}:/opt/ag215s/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/bin/aarch64-oe-linux
export CROSS_COMPILE=aarch64-oe-linux-
export ARCH=arm64
if [ "$1" = "clean" ]; then
cd ${KSRC}
make clean
cd -
make clean SUBDIRS=`pwd` -C ${KSRC}
else
cd ${KSRC}
make scripts
cd -
make modules SUBDIRS=`pwd` -C ${KSRC}
fi
|