diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/link-vmlinux.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/scripts/link-vmlinux.sh b/scripts/link-vmlinux.sh index e62f1e000a7b..3d569d6022c2 100644 --- a/scripts/link-vmlinux.sh +++ b/scripts/link-vmlinux.sh | |||
@@ -132,7 +132,14 @@ if [ "$1" = "clean" ]; then | |||
132 | fi | 132 | fi |
133 | 133 | ||
134 | # We need access to CONFIG_ symbols | 134 | # We need access to CONFIG_ symbols |
135 | . ${KCONFIG_CONFIG} | 135 | case "${KCONFIG_CONFIG}" in |
136 | */*) | ||
137 | . "${KCONFIG_CONFIG}" | ||
138 | ;; | ||
139 | *) | ||
140 | # Force using a file from the current directory | ||
141 | . "./${KCONFIG_CONFIG}" | ||
142 | esac | ||
136 | 143 | ||
137 | #link vmlinux.o | 144 | #link vmlinux.o |
138 | info LD vmlinux.o | 145 | info LD vmlinux.o |