From 43af1cdf7c228618d78d149a79eb9d3f8ff342a9 Mon Sep 17 00:00:00 2001 From: Derek Gaffney <17263955+gaffneyd4@users.noreply.github.com> Date: Wed, 9 Dec 2020 00:55:14 -0500 Subject: [PATCH] Fix Raspbian Buster Instructions for v5.6.4.2 Version `v5.6.4.2` does not have a `dkms_install.sh` file, so set export `ARCH` variable in current shell instead. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 52ba22d..ce0c6ec 100644 --- a/README.md +++ b/README.md @@ -120,9 +120,9 @@ $ sed -i 's/CONFIG_PLATFORM_I386_PC = y/CONFIG_PLATFORM_I386_PC = n/g' Makefile $ sed -i 's/CONFIG_PLATFORM_ARM64_RPI = n/CONFIG_PLATFORM_ARM64_RPI = y/g' Makefile ``` -In addition, if you receive an error message about `unrecognized command line option ‘-mgeneral-regs-only’` (i.e., Raspbian Buster), you will need to run the following commands: +In addition, if you receive an error message about `unrecognized command line option ‘-mgeneral-regs-only’` (i.e., Raspbian Buster), you will need to run the following commands, then retry building and installing: ``` -$ sed -i 's/^dkms build/ARCH=arm dkms build/' dkms-install.sh +$ export ARCH=arm $ sed -i 's/^MAKE="/MAKE="ARCH=arm\ /' dkms.conf ```