Ensure that the kernel gets patched
If the kernel was downloaded with crossmenuconfig, patches would not be properly applied when make kernel was ran.
This commit is contained in:
parent
9b2a9f10c0
commit
f39f12f755
@ -28,6 +28,11 @@ cd build
|
|||||||
[ ! -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
|
[ ! -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
|
||||||
[ ! -d linux-$KVER ] && tar --lzip -xvf linux-libre-$KVER-gnu.tar.lz
|
[ ! -d linux-$KVER ] && tar --lzip -xvf linux-libre-$KVER-gnu.tar.lz
|
||||||
cd linux-$KVER
|
cd linux-$KVER
|
||||||
|
make clean
|
||||||
|
make mrproper
|
||||||
|
#Apply the usb and mmc patches if unapplied
|
||||||
|
[ "$FRESH" = true ] && for i in $RESOURCES/patches-tested/DTS/*.patch; do patch -p1 < $i; done
|
||||||
|
[ "$FRESH" = true ] && for i in $RESOURCES/patches-tested/kernel/*.patch; do patch -p1 < $i; done
|
||||||
cp $RESOURCES/config .config
|
cp $RESOURCES/config .config
|
||||||
make menuconfig ARCH=arm CROSS_COMPILE=arm-none-eabi- .config
|
make menuconfig ARCH=arm CROSS_COMPILE=arm-none-eabi- .config
|
||||||
cp .config $RESOURCES/config
|
cp .config $RESOURCES/config
|
||||||
|
Loading…
Reference in New Issue
Block a user