summaryrefslogtreecommitdiffstats
path: root/scripts/link-vmlinux.sh
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2012-07-07 23:04:40 +0200
committerMichal Marek <mmarek@suse.cz>2012-07-07 23:33:31 +0200
commit5369f55021feb27a1481267e7afefe14128d669f (patch)
tree3bc9329a94f37875f24de5cf7dee74c42e3c657a /scripts/link-vmlinux.sh
parentf8f5701bdaf9134b1f90e5044a82c66324d2073f (diff)
downloadlinux-5369f55021feb27a1481267e7afefe14128d669f.tar.gz
linux-5369f55021feb27a1481267e7afefe14128d669f.tar.bz2
linux-5369f55021feb27a1481267e7afefe14128d669f.zip
kbuild: Print errors to stderr
... at least in the top-level Makefile and scripts/link-vmlinux.sh. There are some more instances of the 'echo <error>; exit 1' pattern in some arch Makefiles and kconfig. Reported-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/link-vmlinux.sh')
-rw-r--r--scripts/link-vmlinux.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/link-vmlinux.sh b/scripts/link-vmlinux.sh
index cd9c6c6bb4c9..4629038c9e5a 100644
--- a/scripts/link-vmlinux.sh
+++ b/scripts/link-vmlinux.sh
@@ -210,8 +210,8 @@ if [ -n "${CONFIG_KALLSYMS}" ]; then
mksysmap ${kallsyms_vmlinux} .tmp_System.map
if ! cmp -s System.map .tmp_System.map; then
- echo Inconsistent kallsyms data
- echo echo Try "make KALLSYMS_EXTRA_PASS=1" as a workaround
+ echo >&2 Inconsistent kallsyms data
+ echo >&2 echo Try "make KALLSYMS_EXTRA_PASS=1" as a workaround
cleanup
exit 1
fi