aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/link-vmlinux.sh9
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
132fi 132fi
133 133
134# We need access to CONFIG_ symbols 134# We need access to CONFIG_ symbols
135. ${KCONFIG_CONFIG} 135case "${KCONFIG_CONFIG}" in
136*/*)
137 . "${KCONFIG_CONFIG}"
138 ;;
139*)
140 # Force using a file from the current directory
141 . "./${KCONFIG_CONFIG}"
142esac
136 143
137#link vmlinux.o 144#link vmlinux.o
138info LD vmlinux.o 145info LD vmlinux.o