diff options
author | Amerigo Wang <xiyou.wangcong@gmail.com> | 2009-08-19 06:19:55 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2009-10-11 17:21:25 -0400 |
commit | a3ee9470e6ccce28b5c2a1c098a5ee5aa053c668 (patch) | |
tree | 1fe85f41024d3cf7aba4f58bb992820dcb3d1108 /scripts/Kbuild.include | |
parent | db9038c89d129383a9db2afcb72b504fe54f6edf (diff) |
kbuild,scripts: use non-builtin echo for '-e'
Alek reported that on Ubuntu, where dash is used, 'echo -e'
can't work, so let's use non-builtin echo in this case.
Reported-by: Alek Du <alek.du@intel.com>
Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/Kbuild.include')
-rw-r--r-- | scripts/Kbuild.include | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include index 4f9c1908593b..c67e73ecd5be 100644 --- a/scripts/Kbuild.include +++ b/scripts/Kbuild.include | |||
@@ -100,7 +100,7 @@ as-option = $(call try-run,\ | |||
100 | # Usage: cflags-y += $(call as-instr,instr,option1,option2) | 100 | # Usage: cflags-y += $(call as-instr,instr,option1,option2) |
101 | 101 | ||
102 | as-instr = $(call try-run,\ | 102 | as-instr = $(call try-run,\ |
103 | echo -e "$(1)" | $(CC) $(KBUILD_AFLAGS) -c -xassembler -o "$$TMP" -,$(2),$(3)) | 103 | /bin/echo -e "$(1)" | $(CC) $(KBUILD_AFLAGS) -c -xassembler -o "$$TMP" -,$(2),$(3)) |
104 | 104 | ||
105 | # cc-option | 105 | # cc-option |
106 | # Usage: cflags-y += $(call cc-option,-march=winchip-c6,-march=i586) | 106 | # Usage: cflags-y += $(call cc-option,-march=winchip-c6,-march=i586) |