summaryrefslogtreecommitdiff
path: root/arch/c6x/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/c6x/Makefile')
-rw-r--r--arch/c6x/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/c6x/Makefile b/arch/c6x/Makefile
index 6f6096ff05a4..6ab942e6c534 100644
--- a/arch/c6x/Makefile
+++ b/arch/c6x/Makefile
@@ -25,6 +25,7 @@ KBUILD_AFLAGS += -mbig-endian
LINKFLAGS += -mbig-endian
KBUILD_LDFLAGS += -mbig-endian
LDFLAGS += -EB
+CHECKFLAGS += -D_BIG_ENDIAN
endif
head-y := arch/c6x/kernel/head.o