build: move symvers files to kernel build dir
authorFelix Fietkau <nbd@nbd.name>
Thu, 9 Apr 2020 07:41:16 +0000 (09:41 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 9 Apr 2020 07:54:02 +0000 (09:54 +0200)
commit4627b5df69fac65e35429b3f876748a59c1bb47a
tree091fb132a736c4486dce807e979c2737be75688e
parent5c6fe8e850a74d65a94d674c92ee6147a3db92aa
build: move symvers files to kernel build dir

The symvers files of older kernel versions are incompatible with the ones
from 5.4, so changing the kernel version without running make clean was
causing build failures in kernel module packages.
Fix this by moving the directory, ensuring that symvers files get thrown
away with a kernel version change

Signed-off-by: Felix Fietkau <nbd@nbd.name>
include/kernel.mk