[PATCH] CHECKFLAGS on ppc64 got broken

From: viro
Date: Wed Sep 07 2005 - 17:28:59 EST


Now that asm-powerpc/* is using ifdefs on __powerpc64__ we need to add it
to CHECKFLAGS on ppc64.

Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
----
diff -urN RC13-git7-simserial/arch/ppc64/Makefile RC13-git7-ppc64-sparse/arch/ppc64/Makefile
--- RC13-git7-simserial/arch/ppc64/Makefile 2005-09-05 07:05:14.000000000 -0400
+++ RC13-git7-ppc64-sparse/arch/ppc64/Makefile 2005-09-07 13:55:41.000000000 -0400
@@ -49,7 +49,7 @@

endif

-CHECKFLAGS += -m64 -D__powerpc__
+CHECKFLAGS += -m64 -D__powerpc__ -D__powerpc64__

LDFLAGS := -m elf64ppc
LDFLAGS_vmlinux := -Bstatic -e $(KERNELLOAD) -Ttext $(KERNELLOAD)
-
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/