Skip to content

Commit

Permalink
eclass/linux-mod.eclass: Check for TRIM_UNUSED_KSYMS (bug #591832).
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeroen Roovers committed Dec 22, 2016
1 parent abd9acf commit df7f1d7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion eclass/linux-mod.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
}
Expand Down

0 comments on commit df7f1d7

Please sign in to comment.