Closed Bobo1239 closed 4 years ago
KBUILD_CFLAGS_MODULE=-DMODULE isn't included in c_flags anymore on Linux 5.4+ due to some Makefile refactoring. We just do it ourselves for now.
Fixes #241.
Successfully builds for me with KDIR=/lib/modules/5.7.0-2-amd64/build from Debian unstable. Thanks!
KDIR=/lib/modules/5.7.0-2-amd64/build
KBUILD_CFLAGS_MODULE=-DMODULE isn't included in c_flags anymore on Linux 5.4+ due to some Makefile refactoring. We just do it ourselves for now.
Fixes #241.