diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2013-08-22 10:09:47 -0400 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2013-09-06 12:48:29 -0400 |
commit | 123f15e669d5a5a2e2f260ba4a5fc2efd93df20e (patch) | |
tree | 1e9b8868595486de3befdc87c3ca3e61b7cbd215 /arch/xtensa | |
parent | fff96d69f2af28f3243d1349341b6305f318f5a4 (diff) |
xtensa: don't use echo -e needlessly
-e is not needed to output strings without escape sequences. This breaks
big endian FSF build when the shell is dash, because its builtin echo
doesn't understand '-e' switch and outputs it in the echoed string.
Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/xtensa')
-rw-r--r-- | arch/xtensa/Makefile | 4 | ||||
-rw-r--r-- | arch/xtensa/boot/Makefile | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/xtensa/Makefile b/arch/xtensa/Makefile index 136224b74d4f..81250ece3062 100644 --- a/arch/xtensa/Makefile +++ b/arch/xtensa/Makefile | |||
@@ -55,10 +55,10 @@ ifneq ($(CONFIG_LD_NO_RELAX),) | |||
55 | LDFLAGS := --no-relax | 55 | LDFLAGS := --no-relax |
56 | endif | 56 | endif |
57 | 57 | ||
58 | ifeq ($(shell echo -e __XTENSA_EB__ | $(CC) -E - | grep -v "\#"),1) | 58 | ifeq ($(shell echo __XTENSA_EB__ | $(CC) -E - | grep -v "\#"),1) |
59 | CHECKFLAGS += -D__XTENSA_EB__ | 59 | CHECKFLAGS += -D__XTENSA_EB__ |
60 | endif | 60 | endif |
61 | ifeq ($(shell echo -e __XTENSA_EL__ | $(CC) -E - | grep -v "\#"),1) | 61 | ifeq ($(shell echo __XTENSA_EL__ | $(CC) -E - | grep -v "\#"),1) |
62 | CHECKFLAGS += -D__XTENSA_EL__ | 62 | CHECKFLAGS += -D__XTENSA_EL__ |
63 | endif | 63 | endif |
64 | 64 | ||
diff --git a/arch/xtensa/boot/Makefile b/arch/xtensa/boot/Makefile index 64ffc4b53df6..ca20a892021b 100644 --- a/arch/xtensa/boot/Makefile +++ b/arch/xtensa/boot/Makefile | |||
@@ -12,7 +12,7 @@ | |||
12 | KBUILD_CFLAGS += -fno-builtin -Iarch/$(ARCH)/boot/include | 12 | KBUILD_CFLAGS += -fno-builtin -Iarch/$(ARCH)/boot/include |
13 | HOSTFLAGS += -Iarch/$(ARCH)/boot/include | 13 | HOSTFLAGS += -Iarch/$(ARCH)/boot/include |
14 | 14 | ||
15 | BIG_ENDIAN := $(shell echo -e __XTENSA_EB__ | $(CC) -E - | grep -v "\#") | 15 | BIG_ENDIAN := $(shell echo __XTENSA_EB__ | $(CC) -E - | grep -v "\#") |
16 | 16 | ||
17 | export ccflags-y | 17 | export ccflags-y |
18 | export BIG_ENDIAN | 18 | export BIG_ENDIAN |