Files
build/config/sources/families/rockchip64.conf
2021-12-26 16:37:49 +01:00

31 lines
781 B
Plaintext

source "${BASH_SOURCE%/*}/include/rockchip64_common.inc"
if [[ $BOARD == station-p2 || $BOARD == station-m2 ]]; then
BOOTSOURCE='https://github.com/150balbes/u-boot-rk'
BOOTBRANCH='branch:rk356x'
BOOTPATCHDIR="u-boot-station-p2"
fi
case $BRANCH in
legacy)
KERNELDIR='linux-rockchip64'
if [[ $BOARD == station-p2 || $BOARD == station-m2 ]]; then
KERNELSOURCE='https://github.com/150balbes/rockchip-kernel'
KERNELBRANCH='branch:rk35xx'
KERNELPATCHDIR='station-p2-'$BRANCH
LINUXCONFIG='linux-station-p2-'$BRANCH
LINUXFAMILY=station-p2
EXTRAWIFI="no"
else
KERNELSOURCE='https://github.com/ayufan-rock64/linux-kernel'
KERNELBRANCH='tag:4.4.202-1237-rockchip-ayufan'
KERNELPATCHDIR='rockchip64-'$BRANCH
fi
;;
esac
prepare_boot_configuration