Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The KREL macro defined in the Makefile isn't used, although the "make -s kernelrelease" command that is run as part of its definition causes a non-fatal build error when the kernel is built outside its source directory, for example, in distros such as Debian and Ubuntu: /usr/src/linux-headers-4.9.0-3-common/scripts/Makefile.build:44: /usr/src/linux-headers-4.9.0-3-common/scripts/basic/Makefile: No such file or directory make[4]: *** No rule to make target '/usr/src/linux-headers-4.9.0-3-common/scripts/basic/Makefile'. Stop. make[3]: *** [scripts_basic] Error 2 The Makefile carries on to build the module after this error. Just remove the KREL macro to avoid it in the first place.
- Loading branch information