]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - scripts/link-vmlinux.sh
Merge tag 'stable/for-linus-3.9-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel...
[mirror_ubuntu-bionic-kernel.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