feat:bbr_support

This commit is contained in:
dichgrem
2025-10-06 22:00:20 +08:00
parent ba5b6e35f8
commit 2f31bb26a3
2 changed files with 30 additions and 9 deletions

View File

@@ -3,18 +3,16 @@ name: Build Ace3Pro Kernel
on:
workflow_dispatch:
inputs:
enable_bbr:
description: "Enable BBR support"
required: false
default: "false"
type: boolean
enable_susfs:
description: "Enable susfs support"
required: false
default: "true"
default: "false"
type: boolean
config_source:
description: "Choose config source for myconfig"
required: true
default: "repo"
type: choice
options:
- repo
root_solution:
description: "Choose root solution to integrate"
required: false
@@ -142,6 +140,28 @@ jobs:
exit 1
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
run: |

View File

@@ -18,7 +18,8 @@
- Use clang-r547379
- Enable ThinLTO/FullLTO to build
- 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
To be continued...