mirror of
https://github.com/Dichgrem/GKI-build.git
synced 2025-12-17 14:11:59 -05:00
feat:bbr_support
This commit is contained in:
36
.github/workflows/build-gki-kernel.yml
vendored
36
.github/workflows/build-gki-kernel.yml
vendored
@@ -3,18 +3,16 @@ name: Build Ace3Pro Kernel
|
|||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
|
enable_bbr:
|
||||||
|
description: "Enable BBR support"
|
||||||
|
required: false
|
||||||
|
default: "false"
|
||||||
|
type: boolean
|
||||||
enable_susfs:
|
enable_susfs:
|
||||||
description: "Enable susfs support"
|
description: "Enable susfs support"
|
||||||
required: false
|
required: false
|
||||||
default: "true"
|
default: "false"
|
||||||
type: boolean
|
type: boolean
|
||||||
config_source:
|
|
||||||
description: "Choose config source for myconfig"
|
|
||||||
required: true
|
|
||||||
default: "repo"
|
|
||||||
type: choice
|
|
||||||
options:
|
|
||||||
- repo
|
|
||||||
root_solution:
|
root_solution:
|
||||||
description: "Choose root solution to integrate"
|
description: "Choose root solution to integrate"
|
||||||
required: false
|
required: false
|
||||||
@@ -142,6 +140,28 @@ jobs:
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
- name: Enable BBR support
|
||||||
|
run: |
|
||||||
|
if [ "${{ inputs.enable_bbr }}" = "true" ]; then
|
||||||
|
echo "✅ Enabling BBR support"
|
||||||
|
cd "$WORKDIR/$KERNEL_DIR"
|
||||||
|
|
||||||
|
mkdir -p kernel/configs
|
||||||
|
printf '%s\n' \
|
||||||
|
'# Fragment config for enabling BBR' \
|
||||||
|
'CONFIG_TCP_CONG_ADVANCED=y' \
|
||||||
|
'CONFIG_TCP_CONG_BBR=y' \
|
||||||
|
'CONFIG_DEFAULT_BBR=y' \
|
||||||
|
'CONFIG_DEFAULT_TCP_CONG="bbr"' > kernel/configs/bbr.config
|
||||||
|
|
||||||
|
export ARCH=arm64
|
||||||
|
export KCONFIG_CONFIG=arch/arm64/configs/config_defconfig.new
|
||||||
|
|
||||||
|
scripts/kconfig/merge_config.sh -m arch/arm64/configs/config_defconfig kernel/configs/bbr.config
|
||||||
|
mv arch/arm64/configs/config_defconfig.new arch/arm64/configs/config_defconfig
|
||||||
|
else
|
||||||
|
echo "⏩ Skipping BBR support (disabled)"
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Install root solution
|
- name: Install root solution
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -18,7 +18,8 @@
|
|||||||
- Use clang-r547379
|
- Use clang-r547379
|
||||||
- Enable ThinLTO/FullLTO to build
|
- Enable ThinLTO/FullLTO to build
|
||||||
- Enable Root support : kernelsu/SukiSU/kernelsu-next
|
- Enable Root support : kernelsu/SukiSU/kernelsu-next
|
||||||
- Enable Susfs support : You can build susfs into kernel
|
- Enable Susfs support : You can build susfs into kernel
|
||||||
|
- Enable BBR support : Enable bbr congestion control algorithm
|
||||||
- Enable Anykernel3 support : Packaged as a zip package of anykernel3
|
- Enable Anykernel3 support : Packaged as a zip package of anykernel3
|
||||||
|
|
||||||
To be continued...
|
To be continued...
|
||||||
|
|||||||
Reference in New Issue
Block a user