mirror of
https://github.com/CopterExpress/clover.git
synced 2026-05-29 22:39:33 +00:00
image: get kernel version from the fs for building rtl8812au
This commit is contained in:
@@ -73,9 +73,9 @@ sed -i 's/CONFIG_PLATFORM_ARM_RPI = n/CONFIG_PLATFORM_ARM_RPI = y/g' Makefile
|
||||
apt-cache policy raspberrypi-kernel-headers
|
||||
apt-get install -y raspberrypi-kernel-headers dkms
|
||||
ls /lib/modules
|
||||
KERNEL_VERSION=5.10.17-v7l+ # TODO: get kernel version from the fs
|
||||
KERNEL_VERSION=$(cd /lib/modules && echo *-v7l+) # can't use `uname` as it gives incorrect value in emulated environment
|
||||
echo make
|
||||
make KERNEL_VER=$KERNEL_VERSION KVER=$KERNEL_VERSION # TODO: determine kernel version from fs
|
||||
make KERNEL_VER=$KERNEL_VERSION KVER=$KERNEL_VERSION
|
||||
echo make install
|
||||
make install KERNEL_VER=$KERNEL_VERSION KVER=$KERNEL_VERSION
|
||||
|
||||
|
||||
Reference in New Issue
Block a user