openwrt/package/kernel/lantiq/ltq-adsl
Mathias Kresin d2d32dcd5f 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>
2021-02-18 08:43:08 +01:00
..
patches ltq-adsl: fix compilation with Linux 5.0+ 2020-03-16 22:28:16 +01:00
Config.in ltq-adsl(-fw): Makefile clean-up and fixes 2020-04-24 17:59:22 +02:00
Makefile kernel: lantiq: fix Module.symvers handling 2021-02-18 08:43:08 +01:00