mei: unregister watchdog from mei_stop function
[firefly-linux-kernel-4.4.55.git] / scripts / link-vmlinux.sh
index b3d907eb93a91e7437ec8be8dac4248990eaf1e0..3d569d6022c296c7bc5ba4e0162279f4c9dc832c 100644 (file)
@@ -132,7 +132,14 @@ if [ "$1" = "clean" ]; then
 fi
 
 # We need access to CONFIG_ symbols
-. ./.config
+case "${KCONFIG_CONFIG}" in
+*/*)
+       . "${KCONFIG_CONFIG}"
+       ;;
+*)
+       # Force using a file from the current directory
+       . "./${KCONFIG_CONFIG}"
+esac
 
 #link vmlinux.o
 info LD vmlinux.o