Skip to content
Commit cb481993 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

kbuild: modpost: handle KBUILD_EXTRA_SYMBOLS only for external modules



KBUILD_EXTRA_SYMBOLS makes sense only when building external modules.
Moreover, the modpost sets 'external_module' if the -e option is given.

I replaced $(patsubst %, -e %,...) with simpler $(addprefix -e,...)
while I was here.

Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 944cfe9b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment