aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShareef Ali <shareefalis@gmail.com>2012-11-23 03:05:03 -0500
committerShareef Ali <shareefalis@gmail.com>2012-11-23 03:05:03 -0500
commit321c23f034a2cc9e38d9d05259a9ab2cfc791400 (patch)
treeac1456ef42707274fd438e882b1652272b9625eb
parentc6a62c86784c3374b82730808dac491f1c092806 (diff)
downloadkernel_samsung_espresso10-321c23f034a2cc9e38d9d05259a9ab2cfc791400.tar.gz
kernel_samsung_espresso10-321c23f034a2cc9e38d9d05259a9ab2cfc791400.tar.bz2
kernel_samsung_espresso10-321c23f034a2cc9e38d9d05259a9ab2cfc791400.zip
expresso: fix kernel compile on a mac
Change-Id: I298593beee3f656ff6adf73ef85515a91ed9a18f
-rw-r--r--scripts/Kbuild.include2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include
index be39cd1c74c..7204f5d4bd6 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)