[PATCH] m32r: set CHECKFLAGS properly

From: Al Viro
Date: Mon Sep 26 2005 - 00:19:05 EST


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@xxxxxxxxxxxxxxxxxx>
----
diff -urN RC14-rc2-git5-rpc-iomem/arch/m32r/Makefile RC14-rc2-git5-sparse-m32r/arch/m32r/Makefile
--- RC14-rc2-git5-rpc-iomem/arch/m32r/Makefile 2005-06-17 15:48:29.000000000 -0400
+++ RC14-rc2-git5-sparse-m32r/arch/m32r/Makefile 2005-09-25 23:46:36.000000000 -0400
@@ -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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/