Change to using a more cent version of the kernel

Supposedly, the patches needed from the chromeos kernel are now in mainline so.
Need to test and confirm this.
This commit is contained in:
SolidHal 2018-06-21 14:35:02 -05:00
parent e909ede389
commit 036ce85642
2 changed files with 6 additions and 6 deletions

View File

@ -3,7 +3,7 @@
# Build fs, image
KVER=4.9.30
KVER=4.17.2
outmnt=$(mktemp -d -p `pwd`)
inmnt=$(mktemp -d -p `pwd`)

View File

@ -3,7 +3,7 @@
#Build kenerl, wifi firmware
KVER=4.9.30
KVER=4.17.2
# build Linux-libre, with ath9k_htc, dwc2 from Chrome OS and without many useless drivers
[ ! -f linux-libre-$KVER-gnu.tar.lz ] && wget https://www.linux-libre.fsfla.org/pub/linux-libre/releases/$KVER-gnu/linux-libre-$KVER-gnu.tar.lz
@ -11,9 +11,9 @@ KVER=4.9.30
cd linux-$KVER
make clean
make mrproper
rm -rf drivers/usb/dwc2
ln -s ../../../chromeos-3.14/drivers/usb/dwc2 drivers/usb/
patch -p 1 < ../chromeos-dwc2-glue.patch
# rm -rf drivers/usb/dwc2
# ln -s ../../../chromeos-3.14/drivers/usb/dwc2 drivers/usb/
# patch -p 1 < ../chromeos-dwc2-glue.patch
# reset the minor version number, so out-of-tree drivers continue to work after
# a kernel upgrade
sed s/'SUBLEVEL = .*'/'SUBLEVEL = 0'/ -i Makefile