Skip to content

Instantly share code, notes, and snippets.

@netskink
Created February 19, 2020 18:37
Show Gist options
  • Save netskink/92cdda8a0f17f16479b465529613e4c5 to your computer and use it in GitHub Desktop.
Save netskink/92cdda8a0f17f16479b465529613e4c5 to your computer and use it in GitHub Desktop.
pi build
root@raspberrypi:~# ls -l /usr/src/
total 16
drwxr-xr-x 24 root root 4096 Feb 19 11:46 linux-headers-4.19.97+
drwxr-xr-x 24 root root 4096 Feb 19 11:46 linux-headers-4.19.97-v7+
drwxr-xr-x 24 root root 4096 Feb 19 11:46 linux-headers-4.19.97-v7l+
drwxr-xr-x 3 root root 4096 Feb 13 11:02 sense-hat
pi@raspberrypi:~/progs/rtl8812AU_8821AU_linux $ make
make ARCH=armv7l CROSS_COMPILE= -C /lib/modules/4.19.97-v7l+/build M=/home/pi/progs/rtl8812AU_8821AU_linux modules
make[1]: Entering directory '/usr/src/linux-headers-4.19.97-v7l+'
Makefile:614: arch/armv7l/Makefile: No such file or directory
make[1]: *** No rule to make target 'arch/armv7l/Makefile'. Stop.
make[1]: Leaving directory '/usr/src/linux-headers-4.19.97-v7l+'
make: *** [Makefile:1622: modules] Error 2
pi@raspberrypi:~/progs/rtl8812AU_8821AU_linux $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment