lib/family config: remove resquices of KERNELDIR which is completely unused for a long time

- also `MAINLINE_KERNEL_DIR` not needed then
This commit is contained in:
Ricardo Pardini
2023-12-27 19:29:07 +01:00
committed by Igor
parent 64b724d1d7
commit ac599c557a
11 changed files with 0 additions and 14 deletions

View File

@@ -21,7 +21,6 @@ case $BRANCH in
KERNELSOURCE='https://github.com/nxp-imx/linux-imx.git'
declare -g KERNEL_MAJOR_MINOR="4.14" # Major and minor versions of this kernel.
KERNELBRANCH='branch:imx_4.14.98_2.0.0_ga'
KERNELDIR='linux-imx7'
BOOTBRANCH='branch:imx_v2018.03_4.14.98_2.0.0_ga'
BOOTPATCHDIR="legacy"
;;
@@ -29,7 +28,6 @@ case $BRANCH in
KERNELSOURCE='https://github.com/nxp-imx/linux-imx.git'
declare -g KERNEL_MAJOR_MINOR="5.4" # Major and minor versions of this kernel.
KERNELBRANCH='branch:imx_5.4.70_2.3.0'
KERNELDIR='linux-imx7-current'
BOOTBRANCH='branch:imx_v2020.04_5.4.70_2.3.0'
BOOTPATCHDIR="v2020.04"
;;

View File

@@ -24,7 +24,6 @@ case "${BRANCH}" in
declare -g KERNELSOURCE="https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel"
declare -g KERNEL_MAJOR_MINOR="6.1"
declare -g KERNELBRANCH="branch:ti-linux-6.1.y"
declare -g KERNELDIR="linux-k3"
;;
edge)

View File

@@ -30,8 +30,6 @@ SKIP_BOOTSPLASH="yes"
case $BRANCH in
legacy)
KERNELDIR='linux-rockchip64'
KERNELSOURCE='https://github.com/150balbes/rockchip-kernel'
declare -g KERNEL_MAJOR_MINOR="5.10" # Major and minor versions of this kernel.
KERNELBRANCH='commit:9db2691ddfbdc7013d507df665f3e038eea7bf93'

View File

@@ -22,14 +22,12 @@ case $BRANCH in
declare -g KERNEL_MAJOR_MINOR="6.1" # Major and minor versions of this kernel.
declare -g KERNEL_SKIP_MAKEFILE_VERSION="yes" # Armbian patches change the version here, so no use having it in the version string.
KERNELBRANCH='branch:odroidxu4-6.1.y'
KERNELDIR='linux-odroidxu4'
KERNEL_DRIVERS_SKIP+=(driver_rtl8811CU_rtl8821C) # rtl8821 is already shipped with hardkernel's source
;;
edge)
declare -g KERNEL_MAJOR_MINOR="6.1" # Major and minor versions of this kernel.
KERNELBRANCH='branch:linux-6.1.y'
KERNELDIR='linux-odroidxu4'
;;
esac

View File

@@ -23,7 +23,6 @@ case $BRANCH in
KERNELBRANCH='branch:rk-5.10-rkr6'
declare -g -i KERNEL_GIT_CACHE_TTL=120 # 2 minutes; this is a high-traffic repo
declare -g KERNEL_MAJOR_MINOR="5.10" # Major and minor versions of this kernel.
KERNELDIR='linux-rockchip64'
KERNELPATCHDIR='rk35xx-legacy'
;;

View File

@@ -21,7 +21,6 @@ case $BRANCH in
UBOOT_COMPILER="aarch64-linux-gnu-"
UBOOT_USE_GCC='< 8.0'
BOOTDIR='u-boot-rockchip64'
KERNELDIR='linux-rockchip64'
KERNELSOURCE='https://github.com/armbian/linux-rockchip.git'
declare -g KERNEL_MAJOR_MINOR="5.10" # Major and minor versions of this kernel.
declare -g -i KERNEL_GIT_CACHE_TTL=120 # 2 minutes; this is a high-traffic repo

View File

@@ -44,7 +44,6 @@ case $BRANCH in
KERNELSOURCE='https://github.com/piter75/rockchip-kernel'
declare -g KERNEL_MAJOR_MINOR="4.4" # Major and minor versions of this kernel.
KERNELBRANCH='branch:rockpis-develop-4.4'
KERNELDIR='linux-rockchip64'
unset IDBLOADER_BLOB
;;

View File

@@ -20,7 +20,6 @@ case $BRANCH in
KERNELSOURCE='https://github.com/armbian/linux'
declare -g KERNEL_MAJOR_MINOR="4.14" # Major and minor versions of this kernel. See https://github.com/armbian/linux/blob/s5p6818/Makefile
KERNELBRANCH='branch:s5p6818'
KERNELDIR='linux-mainline'
;;
esac

View File

@@ -22,7 +22,6 @@ case $BRANCH in
declare -g KERNEL_MAJOR_MINOR="4.9" # Major and minor versions of this kernel.
KERNELBRANCH="branch:orange-pi-4.9-sun50iw9"
KERNELPATCHDIR=${BOARDFAMILY}-${BRANCH}
KERNELDIR='linux-orangepi'
INITRD_ARCH=arm
ASOUND_STATE='asound.state.sun50iw9-legacy'

View File

@@ -13,7 +13,6 @@ LINUXFAMILY=zynq
KERNELSOURCE='https://github.com/Xilinx/linux-xlnx.git'
declare -g KERNEL_MAJOR_MINOR="5.4" # Major and minor versions of this kernel. See https://github.com/Xilinx/linux-xlnx/blob/xilinx-v2020.2/Makefile
KERNELBRANCH='tag:xilinx-v2020.2'
KERNELDIR='linux-xlnx'
KERNELPATCHDIR='zynq-'$BRANCH
BOOTSOURCE='https://github.com/Xilinx/u-boot-xlnx.git'

View File

@@ -170,7 +170,6 @@ function do_main_configuration() {
# Defaults... # @TODO: why?
declare -g -r MAINLINE_UBOOT_DIR='u-boot'
declare -g -r MAINLINE_KERNEL_DIR='linux-mainline'
# pre-calculate mirrors. important: this sets _SOURCE variants that might be used in common.conf to default things to mainline, but using mirror.
# @TODO: setting them here allows family/board code (and hooks) to read them and embed them into configuration, which is bad: it might end up without the mirror.