summaryrefslogtreecommitdiffstats
path: root/arch/mips64
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips64')
-rw-r--r--arch/mips64/kernel/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/mips64/kernel/Makefile b/arch/mips64/kernel/Makefile
index e1edfc6a7..16ba05900 100644
--- a/arch/mips64/kernel/Makefile
+++ b/arch/mips64/kernel/Makefile
@@ -7,7 +7,7 @@
#
.S.o:
- $(CC) $(CFLAGS) -c $< -o $*.o
+ $(CC) $(CFLAGS) $(CFLAGS_$@) -c $< -o $*.o
all: kernel.o head.o init_task.o
@@ -29,6 +29,9 @@ ifdef CONFIG_SMP
O_OBJS += smp.o
endif
+CFLAGS_r4k_genex.o := -P
+CFLAGS_r4k_tlb_glue.o := -P
+
clean:
include $(TOPDIR)/Rules.make