From df7f1d7932de1cc6b8f9027a26d6e4c8dc65ca07 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Thu, 22 Dec 2016 09:19:03 +0100 Subject: eclass/linux-mod.eclass: Check for TRIM_UNUSED_KSYMS (bug #591832). --- eclass/linux-mod.eclass | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'eclass') 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; } -- cgit v1.2.3-65-gdbad