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

index 6f007c30bfb8ea647509c79708b831fbf21847f9..ea3b96cf267375bd390e24ebbdab958c0dfe6784 100644 (file)
@@ -15,6 +15,7 @@ platforms += mipssim
 platforms += mti-malta
 platforms += pmc-sierra
 platforms += pnx833x
+platforms += pnx8550
 platforms += powertv
 platforms += rb532
 platforms += sgi-ip22
index 17f93314b94e8815b0f761566fd64eec6f80d72f..50f780aa8323db4153b128937774e61a39d3c2c5 100644 (file)
@@ -191,24 +191,6 @@ endif
 #
 include $(srctree)/arch/mips/Kbuild.platforms
 
-#
-# Common NXP PNX8550
-#
-core-$(CONFIG_SOC_PNX8550)     += arch/mips/pnx8550/common/
-cflags-$(CONFIG_SOC_PNX8550)   += -I$(srctree)/arch/mips/include/asm/mach-pnx8550
-
-#
-# NXP PNX8550 JBS board
-#
-core-$(CONFIG_PNX8550_JBS)     += arch/mips/pnx8550/jbs/
-#cflags-$(CONFIG_PNX8550_JBS)  += -I$(srctree)/arch/mips/include/asm/mach-pnx8550
-load-$(CONFIG_PNX8550_JBS)     += 0xffffffff80060000
-
-# NXP PNX8550 STB810 board
-#
-core-$(CONFIG_PNX8550_STB810)  += arch/mips/pnx8550/stb810/
-load-$(CONFIG_PNX8550_STB810)  += 0xffffffff80060000
-
 cflags-y                       += -I$(srctree)/arch/mips/include/asm/mach-generic
 drivers-$(CONFIG_PCI)          += arch/mips/pci/
 
diff --git a/arch/mips/pnx8550/Makefile b/arch/mips/pnx8550/Makefile
new file mode 100644 (file)
index 0000000..3f7e856
--- /dev/null
@@ -0,0 +1,3 @@
+obj-$(CONFIG_SOC_PNX8550)      += common/
+obj-$(CONFIG_PNX8550_JBS)      += jbs/
+obj-$(CONFIG_PNX8550_STB810)   += stb810/
diff --git a/arch/mips/pnx8550/Platform b/arch/mips/pnx8550/Platform
new file mode 100644 (file)
index 0000000..0e7fbde
--- /dev/null
@@ -0,0 +1,7 @@
+platform-$(CONFIG_SOC_PNX8550) += pnx8550/
+
+cflags-$(CONFIG_SOC_PNX8550)   +=                                      \
+               -I$(srctree)/arch/mips/include/asm/mach-pnx8550
+
+load-$(CONFIG_PNX8550_JBS)     += 0xffffffff80060000
+load-$(CONFIG_PNX8550_STB810)  += 0xffffffff80060000
index dd9e7b1f7fd34f7e9d3bfb0d16bd91b0e8e02f8a..f8ce695dc54ff98cf679cabfd13e51b53323e0ab 100644 (file)
@@ -24,5 +24,3 @@
 
 obj-y := setup.o prom.o int.o reset.o time.o proc.o platform.o
 obj-$(CONFIG_PCI) += pci.o
-
-EXTRA_CFLAGS += -Werror