فهرست منبع

MIPS: IP32: Migrate to new platform makefile style.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle 15 سال پیش
والد
کامیت
4fa8a557c3
4فایلهای تغییر یافته به همراه12 افزوده شده و 14 حذف شده
  1. 1 0
      arch/mips/Kbuild.platforms
  2. 0 12
      arch/mips/Makefile
  3. 0 2
      arch/mips/sgi-ip32/Makefile
  4. 11 0
      arch/mips/sgi-ip32/Platform

+ 1 - 0
arch/mips/Kbuild.platforms

@@ -11,6 +11,7 @@ platforms += mti-malta
 platforms += pmc-sierra
 platforms += sgi-ip22
 platforms += sgi-ip27
+platforms += sgi-ip32
 platforms += sni
 platforms += vr41xx
 

+ 0 - 12
arch/mips/Makefile

@@ -250,18 +250,6 @@ core-$(CONFIG_POWERTV)		+= arch/mips/powertv/
 cflags-$(CONFIG_POWERTV)        += -I$(srctree)/arch/mips/include/asm/mach-powertv
 load-$(CONFIG_POWERTV)		+= 0xffffffff90800000
 
-#
-# SGI-IP32 (O2)
-#
-# Set the load address to >= 80069000 if you want to leave space for symmon,
-# 0xffffffff80004000 for production kernels.  Note that the value must be aligned to
-# a multiple of the kernel stack size or the handling of the current variable
-# will break.
-#
-core-$(CONFIG_SGI_IP32)		+= arch/mips/sgi-ip32/
-cflags-$(CONFIG_SGI_IP32)	+= -I$(srctree)/arch/mips/include/asm/mach-ip32
-load-$(CONFIG_SGI_IP32)		+= 0xffffffff80004000
-
 #
 # Sibyte SB1250/BCM1480 SOC
 #

+ 0 - 2
arch/mips/sgi-ip32/Makefile

@@ -5,5 +5,3 @@
 
 obj-y	+= ip32-berr.o ip32-irq.o ip32-platform.o ip32-setup.o ip32-reset.o \
 	   crime.o ip32-memory.o
-
-EXTRA_CFLAGS += -Werror

+ 11 - 0
arch/mips/sgi-ip32/Platform

@@ -0,0 +1,11 @@
+#
+# SGI-IP32 (O2)
+#
+# Set the load address to >= 80069000 if you want to leave space for symmon,
+# 0xffffffff80004000 for production kernels.  Note that the value must be aligned to
+# a multiple of the kernel stack size or the handling of the current variable
+# will break.
+#
+platform-$(CONFIG_SGI_IP32)	+= sgi-ip32/
+cflags-$(CONFIG_SGI_IP32)	+= -I$(srctree)/arch/mips/include/asm/mach-ip32
+load-$(CONFIG_SGI_IP32)		+= 0xffffffff80004000