~mil/ppbbq10

dfbecc8ffaa3e3116cb3d9d1f5100299c2a94e66 — Miles Alan 3 years ago 5066dd8
Add faster method for obtaining headers
1 files changed, 10 insertions(+), 1 deletions(-)

M README.md
M README.md => README.md +10 -1
@@ 31,8 31,17 @@ and be on your merry way. On pmOS linux-headers for linux-postmarketos-allwinner
are currently broken. So instead you can just grab the source from GH and prepare
things:
```

# Either (1)
git clone https://github.com/megous/linux
git checkout $REF_KERNEL_BUILT_AGAINST_CHECK_PMAPORTS

# Or, faster (2)
wget https://github.com/megous/linux/archive/$REF_KERNEL_BUILT_AGAINST_CHECK_PMAPORTS.tar.gz
tar xvfz linux*.tar.gz

# Then
cd linux-src-folder
cat /proc/config.gz > .config
make modules_prepare
```


@@ 44,7 53,7 @@ git clone https://git.sr.ht/~mil/ppbbq10

**4.** Build the kernel module
```
make -C ../linux-orange-pi-5.10-20210130-2109/ M=$PWD modules
make -C ../linux-src-folder/ M=$PWD modules
```

**5.** Load the kernel module