kbuild: Fix reading of .config in link-vmlinux.sh
authorMichal Marek <mmarek@suse.cz>
Mon, 25 Feb 2013 12:47:53 +0000 (13:47 +0100)
committerMichal Marek <mmarek@suse.cz>
Mon, 25 Feb 2013 15:14:48 +0000 (16:14 +0100)
The shell '.' command is not required to search the current directory as
a fallback and in fact newer versions of bash in sh-mode do not do this.
Force reading the file from the current directory if $KCONFIG_CONFIG
contains no '/'.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/link-vmlinux.sh

Simple merge