build: pass KBUILD_EXTRA_SYMBOLS with symvers files for kernel module packages
authorFelix Fietkau <nbd@nbd.name>
Fri, 23 Oct 2020 09:26:48 +0000 (11:26 +0200)
committerFelix Fietkau <nbd@nbd.name>
Fri, 13 Nov 2020 12:16:37 +0000 (13:16 +0100)
commit5d7606562940b52206712bb4bc274ad39521c3e1
tree2c29fa3dfea4994fa3c759d25e9aa5ef4dc379db
parent92b707f61bfb9bf767b8be4e4193a23277f939bb
build: pass KBUILD_EXTRA_SYMBOLS with symvers files for kernel module packages

This replaces the previous (deprecated) method of collecting symvers data
in $(PKG_BUILD_DIR)/Module.symvers, which does not work on newer kernels

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