summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2016-12-22 09:19:03 +0100
committerJeroen Roovers <jer@gentoo.org>2016-12-22 09:19:24 +0100
commitdf7f1d7932de1cc6b8f9027a26d6e4c8dc65ca07 (patch)
tree208c9a23f7a902a2b82917be6edd925edd748dc2 /eclass/linux-mod.eclass
parentnet-misc/quagga: revision bump (diff)
downloadgentoo-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.eclass5
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;
}