Update kernel, no longer merging exfat at compile time.

This commit is contained in:
fewtarius 2022-03-13 07:38:11 -04:00
parent cd4d4d1bc7
commit 81d71f0dda
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A

View file

@ -5,7 +5,7 @@
PKG_NAME="linux"
PKG_URL="https://github.com/JustEnoughLinuxOS/rockchip-kernel.git"
PKG_VERSION="e54fd3caf"
PKG_VERSION="fafaf3016"
PKG_GIT_CLONE_BRANCH="main"
PKG_LICENSE="GPL"
PKG_SITE="http://www.kernel.org"
@ -121,23 +121,6 @@ pre_make_target() {
sed -i "s|CONFIG_EXTRA_FIRMWARE=.*|CONFIG_EXTRA_FIRMWARE=\"${FW_LIST}\"|" $PKG_BUILD/.config
fi
# Add EXFat, kinda gross but I don't want it as a module.
PREEXF=`pwd`
cd $PKG_BUILD/fs
git clone https://github.com/arter97/exfat-linux.git
cd exfat-linux
git checkout old
rm -rf .git
cd $PKG_BUILD/fs
if [ -d "exfat" ]
then
rm -rf exfat
fi
mv exfat-linux exfat
sed -i '/source "fs\/fat\/Kconfig"/a source "fs\/exfat\/Kconfig"' Kconfig
sed -i '/obj-$(CONFIG_FAT_FS).*+= fat\//a obj-$(CONFIG_EXFAT_FS)\t\t+= exfat\/' Makefile
cd ${PREEXF}
kernel_make oldconfig
# regdb (backward compatability with pre-4.15 kernels)