From: Al Viro Date: Mon, 26 Sep 2005 05:19:28 +0000 (+0100) Subject: [PATCH] m32r: set CHECKFLAGS properly X-Git-Tag: v2.6.14-rc3~108 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c74dbac71419cdeaca8cd637ee666d6947961695;p=platform%2Fkernel%2Flinux-3.10.git [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 Signed-off-by: Linus Torvalds --- diff --git a/arch/m32r/Makefile b/arch/m32r/Makefile index dd4418d..983d438 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