mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
kbuild: fix space for good (take 103)
Michal Ostrowski points out what the real problem was: the spaces at the start of the definition of the 'checker-shell' make function. Cc: Michal Ostrowski <mostrows@watson.ibm.com> Acked-by: David Miller <davem@davemloft.net> Acked-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> Acked-by: Oleg Verych <olecom@flower.upol.cz> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
c4184f117a
commit
b892afd1e6
1 changed files with 9 additions and 10 deletions
|
@ -60,8 +60,7 @@ endef
|
|||
# Usage: option = $(call checker-shell,$(CC)...-o $$OUT,option-ok,otherwise)
|
||||
# Exit code chooses option. $$OUT is safe location for needless output.
|
||||
define checker-shell
|
||||
$(strip
|
||||
$(shell set -e; \
|
||||
$(shell set -e; \
|
||||
DIR=$(KBUILD_EXTMOD); \
|
||||
cd $${DIR:-$(objtree)}; \
|
||||
OUT=$$PWD/.$$$$.null; \
|
||||
|
@ -69,7 +68,7 @@ define checker-shell
|
|||
then echo "$(2)"; \
|
||||
else echo "$(3)"; \
|
||||
fi; \
|
||||
rm -f $$OUT))
|
||||
rm -f $$OUT)
|
||||
endef
|
||||
|
||||
# as-option
|
||||
|
|
Loading…
Reference in a new issue