MIPS: IP32: Migrate to new platform makefile style.
authorRalf Baechle <ralf@linux-mips.org>
Thu, 5 Aug 2010 12:25:50 +0000 (13:25 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 5 Aug 2010 12:25:50 +0000 (13:25 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kbuild.platforms
arch/mips/Makefile
arch/mips/sgi-ip32/Makefile
arch/mips/sgi-ip32/Platform [new file with mode: 0644]

index 4d87f3deec1728bd8415d545bb25a08ac0136983..8a8f99bfe67f79ba7bf22642c859500bc10b9c52 100644 (file)
@@ -11,6 +11,7 @@ platforms += mti-malta
 platforms += pmc-sierra
 platforms += sgi-ip22
 platforms += sgi-ip27
+platforms += sgi-ip32
 platforms += sni
 platforms += vr41xx
 
index 719aad5cf14f612cddd54a9ae2bebebd997ab011..175c647c80306e2e30256371f9f888ffee0b7752 100644 (file)
@@ -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
 #
index 31c9aa1bcb40b4fe389c9b7a72badc156a848092..60f0227425e709ba82a9a882158a1b2e5ecb4e49 100644 (file)
@@ -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
diff --git a/arch/mips/sgi-ip32/Platform b/arch/mips/sgi-ip32/Platform
new file mode 100644 (file)
index 0000000..0fea556
--- /dev/null
@@ -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