X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fm68k%2FMakefile;h=bc79771e8953f16818408e0c6cf6ee8f8eb691e7;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=1ec10c9f22fba6e331a218dd16644c57c33feee6;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/arch/m68k/Makefile b/arch/m68k/Makefile index 1ec10c9f2..bc79771e8 100644 --- a/arch/m68k/Makefile +++ b/arch/m68k/Makefile @@ -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 @@ -56,7 +58,7 @@ ifndef CONFIG_SUN3 head-y := arch/m68k/kernel/head.o else head-y := arch/m68k/kernel/sun3-head.o -endif +endif core-y += arch/m68k/kernel/ arch/m68k/mm/ libs-y += arch/m68k/lib/