On Tue, Nov 29, 2016 at 9:14 AM, Jeroen Roovers <j...@gentoo.org> wrote: > --- a/eclass/linux-mod.eclass > +++ b/eclass/linux-mod.eclass > @@ -566,6 +566,9 @@ linux-mod_pkg_setup() { > return > fi > > + # External modules use kernel symbols (bug #591832) > + export CONFIG_CHECK+=" !TRIM_UNUSED_KSYMS" > + > linux-info_pkg_setup; > require_configured_kernel > check_kernel_built; >
There is no need to export CONFIG_CHECK to the environment here.