Skip to content

Commit

Permalink
Kernel: get apple-bce from linux-t2-patches
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaGarg8 authored Jul 7, 2023
1 parent 2778497 commit a3b4b8b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions docs/guides/kernel.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,13 @@ If your distro is not one of the distros with documentation on this Wiki, you ma
```bash
mkdir build && cd build
git clone --depth=1 https://github.com/t2linux/linux-t2-patches patches
rm ./patches/1001*

pkgver=$(curl -sL https://github.com/t2linux/T2-Ubuntu-Kernel/releases/latest/ | grep "<title>Release" | awk -F " " '{print $2}' | cut -d "v" -f 2 | cut -d "-" -f 1)
_srcname=linux-${pkgver}
wget https://www.kernel.org/pub/linux/kernel/v${pkgver//.*}.x/linux-${pkgver}.tar.xz
tar xf $_srcname.tar.xz
cd $_srcname

git clone --depth=1 https://github.com/kekrby/apple-bce drivers/staging/apple-bce

for patch in ../patches/*.patch; do
patch -Np1 < $patch
done
Expand Down

0 comments on commit a3b4b8b

Please sign in to comment.