summaryrefslogtreecommitdiffstats
path: root/arch/m32r
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2005-09-26 06:19:28 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-26 18:29:50 -0700
commitc74dbac71419cdeaca8cd637ee666d6947961695 (patch)
tree0d1a25a9a9d664d31fa2715be93b886b42bb0eb1 /arch/m32r
parent24558a0f7a00fccd19a6e6502956463f056ce90e (diff)
downloadlinux-stable-c74dbac71419cdeaca8cd637ee666d6947961695.tar.gz
linux-stable-c74dbac71419cdeaca8cd637ee666d6947961695.tar.bz2
linux-stable-c74dbac71419cdeaca8cd637ee666d6947961695.zip
[PATCH] m32r: set CHECKFLAGS properly
We do _not_ need "sparse" in sparse arguments ;-) What we do need is __BIG_ENDIAN__; right now unconditional, when m32r starts using CPU_LITTLE_ENDIAN, we'll need to adjust. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/m32r')
-rw-r--r--arch/m32r/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m32r/Makefile b/arch/m32r/Makefile
index dd4418d846e9..983d438b14b6 100644
--- a/arch/m32r/Makefile
+++ b/arch/m32r/Makefile
@@ -24,7 +24,7 @@ aflags-$(CONFIG_ISA_M32R) += -DNO_FPU -Wa,-no-bitinst
CFLAGS += $(cflags-y)
AFLAGS += $(aflags-y)
-CHECKFLAGS := $(CHECK) -D__m32r__
+CHECKFLAGS += -D__m32r__ -D__BIG_ENDIAN__=1
head-y := arch/m32r/kernel/head.o arch/m32r/kernel/init_task.o