Skip to contentSkip to conversation

m32r: set CHECKFLAGS properly

PATCH New Al Viro 1 participant 1 message Sep 26, 2005

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 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.

----

arch/m32r/Makefile +1 -1
diff -urN RC14-rc2-git5-rpc-iomem/arch/m32r/Makefile RC14-rc2-git5-sparse-m32r/arch/m32r/Makefile
@@ -24,7 +24,7 @@
 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