From 1b3608eb4b4dd35a9812122254b72574fd846554 Mon Sep 17 00:00:00 2001 From: Thomas Bogendoerfer Date: Sat, 15 Mar 2008 12:28:51 +0100 Subject: [PATCH] --- yaml --- r: 87975 b: refs/heads/master c: 82933342c3b157c93f4b09199bcde8f2e961dff6 h: refs/heads/master i: 87973: 778aef25bda606ab8244c637bebd756e42b03142 87971: a49e733ef1cc8a92e53f62439f4db03f3d5d4e17 87967: 4918aa86d7e80853f2e4bbacc51502d619bdbd1c v: v3 --- [refs] | 2 +- trunk/arch/mips/Makefile | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 81677abf8be2..fcd86dc7bf6d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a05e623f63f7ce2d6b334eb3d7ecb449b907b429 +refs/heads/master: 82933342c3b157c93f4b09199bcde8f2e961dff6 diff --git a/trunk/arch/mips/Makefile b/trunk/arch/mips/Makefile index 72097dacabd3..1c62381f5c23 100644 --- a/trunk/arch/mips/Makefile +++ b/trunk/arch/mips/Makefile @@ -482,10 +482,13 @@ endif # be 16kb aligned or the handling of the current variable will break. # Simplified: what IP22 does at 128MB+ in ksegN, IP28 does at 512MB+ in xkphys # -#core-$(CONFIG_SGI_IP28) += arch/mips/sgi-ip22/ arch/mips/arc/arc_con.o +ifdef CONFIG_SGI_IP28 + ifeq ($(call cc-option-yn,-mr10k-cache-barrier=1), n) + $(error gcc doesn't support needed option -mr10k-cache-barrier=1) + endif +endif core-$(CONFIG_SGI_IP28) += arch/mips/sgi-ip22/ cflags-$(CONFIG_SGI_IP28) += -mr10k-cache-barrier=1 -Iinclude/asm-mips/mach-ip28 -#cflags-$(CONFIG_SGI_IP28) += -Iinclude/asm-mips/mach-ip28 load-$(CONFIG_SGI_IP28) += 0xa800000020004000 #