[PATCH 456] M68k sparse

From: Geert Uytterhoeven
Date: Sun Jun 20 2004 - 12:43:41 EST


M68k: Make sparse work

Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

--- linux-2.6.7/arch/m68k/Makefile 2004-05-24 11:13:22.000000000 +0200
+++ linux-m68k-2.6.7/arch/m68k/Makefile 2004-06-20 10:49:05.000000000 +0200
@@ -28,6 +28,8 @@ ifdef CONFIG_SUN3
LDFLAGS_vmlinux = -N
endif

+CHECK := $(CHECK) -D__mc68000__=1 -I$(shell $(CC) -print-file-name=include)
+
# without -fno-strength-reduce the 53c7xx.c driver fails ;-(
CFLAGS += -pipe -fno-strength-reduce -ffixed-a2


Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-
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/