From a131413971857cc08d0e91c56b3f8ef754bb9886 Mon Sep 17 00:00:00 2001 From: The-going <48602507+The-going@users.noreply.github.com> Date: Sun, 26 Feb 2023 15:43:26 +0300 Subject: [PATCH] sunxi: remove unused KERNELSOURCE="https://github.com/megous/linux" --- config/sources/families/include/sunxi64_common.inc | 11 ----------- config/sources/families/include/sunxi_common.inc | 11 ----------- 2 files changed, 22 deletions(-) diff --git a/config/sources/families/include/sunxi64_common.inc b/config/sources/families/include/sunxi64_common.inc index 273e0ba1b7..9738e1a875 100644 --- a/config/sources/families/include/sunxi64_common.inc +++ b/config/sources/families/include/sunxi64_common.inc @@ -14,30 +14,19 @@ case $BRANCH in legacy) export KERNEL_MAJOR_MINOR="5.10" # Major and minor versions of this kernel. export KERNELBRANCH="tag:v5.10.138" - export KERNELBRANCH_MEGOUS="branch:orange-pi-5.10" ;; current) export KERNEL_MAJOR_MINOR="5.15" # Major and minor versions of this kernel. export KERNELBRANCH="tag:v5.15.93" - export KERNELBRANCH_MEGOUS="branch:orange-pi-5.15" ;; edge) export KERNEL_MAJOR_MINOR="6.1" # Major and minor versions of this kernel. export KERNELBRANCH="tag:v6.1.11" - export KERNELBRANCH_MEGOUS="branch:orange-pi-6.1" ;; esac -# Hack for easily using megous for tests. -if [[ "$USE_MEGOUS" == "yes" ]]; then - display_alert "Using megous/linux for kernel" "USE_MEGOUS: ${USE_MEGOUS}" "debug" - export KERNELSOURCE="https://github.com/megous/linux" - export KERNELBRANCH="${KERNELBRANCH_MEGOUS}" -fi - -unset KERNELBRANCH_MEGOUS KERNELPATCHDIR="archive/sunxi-${KERNEL_MAJOR_MINOR}" family_tweaks() { diff --git a/config/sources/families/include/sunxi_common.inc b/config/sources/families/include/sunxi_common.inc index 5d004dd965..41166dc782 100644 --- a/config/sources/families/include/sunxi_common.inc +++ b/config/sources/families/include/sunxi_common.inc @@ -15,30 +15,19 @@ case $BRANCH in legacy) export KERNEL_MAJOR_MINOR="5.10" # Major and minor versions of this kernel. export KERNELBRANCH="tag:v5.10.138" - export KERNELBRANCH_MEGOUS="branch:orange-pi-5.10" ;; current) export KERNEL_MAJOR_MINOR="5.15" # Major and minor versions of this kernel. export KERNELBRANCH="tag:v5.15.93" - export KERNELBRANCH_MEGOUS="branch:orange-pi-5.15" ;; edge) export KERNEL_MAJOR_MINOR="6.1" # Major and minor versions of this kernel. export KERNELBRANCH="tag:v6.1.11" - export KERNELBRANCH_MEGOUS="branch:orange-pi-6.1" ;; esac -# Hack for easily using megous for tests. -if [[ "$USE_MEGOUS" == "yes" ]]; then - display_alert "Using megous/linux for kernel" "USE_MEGOUS: ${USE_MEGOUS}" "debug" - export KERNELSOURCE="https://github.com/megous/linux" - export KERNELBRANCH="${KERNELBRANCH_MEGOUS}" -fi - -unset KERNELBRANCH_MEGOUS KERNELPATCHDIR="archive/sunxi-${KERNEL_MAJOR_MINOR}" family_tweaks() {