kbuild: make $(checker-shell ) strip spaces around the result
authorLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 8 Feb 2007 04:24:25 +0000 (20:24 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 8 Feb 2007 04:24:25 +0000 (20:24 -0800)
commitc4184f117af7441fb83bc413d2214d92920e0289
treed6f77ef7a5fab96f38567c58d88ccdfe0db3fcbc
parent905adce4094d64a6691df994e424fbf486301adc
kbuild: make $(checker-shell ) strip spaces around the result

It looks like GNU make version 3.80 (but apparently not 3.81) adds
leading whitespace to the result of the checker-shell execution.  This
strips them off explicitly.

Also, don't bother symlinking the output file to /dev/null.  It's likely
as expensive as just writing the temp-file, and we need to remove it
anyway afterwards.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/Kbuild.include