summaryrefslogtreecommitdiffstats
path: root/arch/m32r/Makefile
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2005-09-26 07:19:28 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-27 03:29:50 +0200
commitc74dbac71419cdeaca8cd637ee666d6947961695 (patch)
tree0d1a25a9a9d664d31fa2715be93b886b42bb0eb1 /arch/m32r/Makefile
parent[PATCH] m32r: missing __iomem in ioremap() declaration (diff)
downloadlinux-c74dbac71419cdeaca8cd637ee666d6947961695.tar.xz
linux-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/Makefile')
-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