aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorhudson@koushik-lion <jenkins@cyanogenmod.com>2012-11-29 13:38:57 -0800
committerhudson@koushik-lion <jenkins@cyanogenmod.com>2012-11-29 13:38:57 -0800
commit9ee66ec36f2be0e3ab8217e1d6899b26ea56b765 (patch)
tree94d73c21646e284408496057abb00b0c0cd1b167 /scripts
parent2af8c19aef3c09d48c3484ec25a26588c8ded1dc (diff)
downloadkernel_samsung_smdk4412-9ee66ec36f2be0e3ab8217e1d6899b26ea56b765.zip
kernel_samsung_smdk4412-9ee66ec36f2be0e3ab8217e1d6899b26ea56b765.tar.gz
kernel_samsung_smdk4412-9ee66ec36f2be0e3ab8217e1d6899b26ea56b765.tar.bz2
Fix build on Darwin:
http://forum.xda-developers.com/showthread.php?t=1788935 Change-Id: I8fb073c6ba7175dd76256b8950afc43ac126bd92
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Kbuild.include2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include
index be39cd1..7204f5d 100644
--- a/scripts/Kbuild.include
+++ b/scripts/Kbuild.include
@@ -100,7 +100,7 @@ as-option = $(call try-run,\
# Usage: cflags-y += $(call as-instr,instr,option1,option2)
as-instr = $(call try-run,\
- /bin/echo -e "$(1)" | $(CC) $(KBUILD_AFLAGS) -c -xassembler -o "$$TMP" -,$(2),$(3))
+ printf "%s\n" "$(1)" | $(CC) $(KBUILD_AFLAGS) -c -xassembler -o "$$TMP" -,$(2),$(3))
# cc-option
# Usage: cflags-y += $(call cc-option,-march=winchip-c6,-march=i586)