summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2016-12-02 15:11:50 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2016-12-02 14:46:42 -0800
commit865563924022d8a307ee6dbc6a9ab4fb4d461cce (patch)
treea0e678342d63d30860f81776d4ebe50e6ac51500 /net
parent8dc0f265d39a3933f4c1f846c7c694f12a2ab88a (diff)
kbuild: fix building bzImage with CONFIG_TRIM_UNUSED_KSYMS enabled
When building a specific target such as bzImage, modules aren't normally built. However if CONFIG_TRIM_UNUSED_KSYMS is enabled, no built modules means none of the exported symbols are used and therefore they will all be trimmed away from the final kernel. A subsequent "make modules" will fail because modpost cannot find the needed symbols for those modules in the kernel binary. Let's make sure modules are also built whenever CONFIG_TRIM_UNUSED_KSYMS is enabled and that the kernel binary is properly rebuilt accordingly. Signed-off-by: Nicolas Pitre <nico@linaro.org> Tested-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions