diff options
author | Jeroen Roovers <jer@gentoo.org> | 2016-12-22 09:19:03 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2016-12-22 09:19:24 +0100 |
commit | df7f1d7932de1cc6b8f9027a26d6e4c8dc65ca07 (patch) | |
tree | 208c9a23f7a902a2b82917be6edd925edd748dc2 /eclass/linux-mod.eclass | |
parent | net-misc/quagga: revision bump (diff) | |
download | gentoo-df7f1d7932de1cc6b8f9027a26d6e4c8dc65ca07.tar.gz gentoo-df7f1d7932de1cc6b8f9027a26d6e4c8dc65ca07.tar.bz2 gentoo-df7f1d7932de1cc6b8f9027a26d6e4c8dc65ca07.zip |
eclass/linux-mod.eclass: Check for TRIM_UNUSED_KSYMS (bug #591832).
Diffstat (limited to 'eclass/linux-mod.eclass')
-rw-r--r-- | eclass/linux-mod.eclass | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass index 84b278686396..270eff5090c1 100644 --- 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) + CONFIG_CHECK+=" !TRIM_UNUSED_KSYMS" + linux-info_pkg_setup; require_configured_kernel check_kernel_built; @@ -592,7 +595,7 @@ linux-mod_pkg_setup_binary() { [[ ${config:0:1} == "~" ]] && optional='' new_CONFIG_CHECK="${new_CONFIG_CHECK} ${optional}${config}" done - export CONFIG_CHECK="${new_CONFIG_CHECK}" + CONFIG_CHECK="${new_CONFIG_CHECK}" linux-info_pkg_setup; } |