immortalwrt/package/kernel/lantiq/ltq-vmmc
Mathias Kresin 371c4ea855
kernel: lantiq: fix Module.symvers handling
If an external module uses exported symbols from another external
module, Kbuild needs to have full knowledge of all symbols to
avoid spitting out warnings about undefined symbols.

Use PKG_EXTMOD_SUBDIRS to point to the build directory which contains
the Module.symvers.

Pass KERNEL_MAKE_FLAGS to the external module build, to inject
KBUILD_EXTRA_SYMBOLS. KBUILD_EXTRA_SYMBOLS holds a space separated list
of Module.symvers, which list all exported symbols.

Signed-off-by: Mathias Kresin <dev@kresin.me>
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-18 17:18:07 +08:00
..
files ltq-vmmc: update permission handling 2020-07-12 12:36:12 +08:00
patches fix & merge 2019-09-30 13:21:19 +08:00
Config.in fix permission 2019-09-30 14:27:46 +08:00
Makefile kernel: lantiq: fix Module.symvers handling 2021-02-18 17:18:07 +08:00