diff options
author | Roman Yeryomin <roman@advem.lv> | 2019-04-12 18:26:03 +0300 |
---|---|---|
committer | Jonas Gorski <jonas.gorski@gmail.com> | 2019-06-06 12:05:51 +0200 |
commit | 94464cfca297241870678e176274bbca878aa174 (patch) | |
tree | 5ca23e5c9c97a1734c44b694f940d7a32a072e5a /tools/firmware-utils | |
parent | 24e09bac48b6ce90c11407676dbfa42d069cff24 (diff) | |
download | upstream-94464cfca297241870678e176274bbca878aa174.tar.gz upstream-94464cfca297241870678e176274bbca878aa174.tar.bz2 upstream-94464cfca297241870678e176274bbca878aa174.zip |
build: fix external module symbol collection if build_dir is a symlink
e26ffb31dfa30d498b963a86d231835e3af7d3df fixed only embedded modules
symbol collection. If we are building external modules, like broadcom-wl
or lantiq dsl stuff then modules which do EXPORT_SYMBOL have unresolved
paths in Module.symvers and external module which depend on other
external modules will have empty dependencies, leading to broken
module loading.
This was discussed on IRC with Jonas some time ago.
Fix this by handling both resolved and unresolved paths.
Fixes: e26ffb31dfa3 ("build: fix module symbol collection if build_dir is a symlink")
Signed-off-by: Roman Yeryomin <roman@advem.lv>
[jonas.gorski@gmail.com: add appropriate fixes tag]
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Diffstat (limited to 'tools/firmware-utils')
0 files changed, 0 insertions, 0 deletions