From 2bdb2f22ef5ce96a8694289a7d72bedbed529fad Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Sat, 30 Jul 2022 09:21:15 +0200 Subject: [PATCH] Apply BBR2 5.15 only to x86 --- build.sh | 5 +++++ .../hack-5.15/693-tcp_bbr2.patch => patches/bbr2-5.15.patch | 0 2 files changed, 5 insertions(+) rename root/target/linux/generic/hack-5.15/693-tcp_bbr2.patch => patches/bbr2-5.15.patch (100%) diff --git a/build.sh b/build.sh index 19c0268a..c925dc8a 100755 --- a/build.sh +++ b/build.sh @@ -403,6 +403,11 @@ if [ "$OMR_KERNEL" = "5.4" ] && ([ "$OMR_TARGET" = "x86_64" ] || [ "$OMR_TARGET" fi echo "Done" fi +if [ "$OMR_KERNEL" = "5.15" ] && ([ "$OMR_TARGET" = "x86_64" ] || [ "$OMR_TARGET" = "bpi-r64" ] || [ "$OMR_TARGET" = "rpi4" ] || [ "$OMR_TARGET" = "espressobin" ] || [ "$OMR_TARGET" = "r2s" ] || [ "$OMR_TARGET" = "r4s" ] || [ "$OMR_TARGET" = "rpi3" ]); then + echo "Checking if BBRv2 patch is set or not" + cp ../../../patches/bbr2.patch target/linux/generic/hack-5.15/693-tcp_bbr2.patch + echo "Done" +fi echo "Checking if smsc75xx patch is set or not" if ! patch -Rf -N -p1 -s --dry-run < ../../../patches/smsc75xx.patch; then diff --git a/root/target/linux/generic/hack-5.15/693-tcp_bbr2.patch b/patches/bbr2-5.15.patch similarity index 100% rename from root/target/linux/generic/hack-5.15/693-tcp_bbr2.patch rename to patches/bbr2-5.15.patch