mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
31 lines
781 B
Plaintext
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
|