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

index d99704cac5617db9ff3c41a1090b6f371854b4a7..e4c991efee91e4bfb5a1f3ea039a26dac6987a63 100644 (file)
@@ -2,6 +2,7 @@
 
 platforms += alchemy
 platforms += ar7
+platforms += bcm47xx
 platforms += cobalt
 platforms += dec
 platforms += jazz
index 24ba9394fa68094fbb3e466f47aa4db8beee7b3d..b855d066b82f60a961299bc40f62356a1fe00017 100644 (file)
@@ -279,13 +279,6 @@ load-$(CONFIG_SIBYTE_SWARM)        := 0xffffffff80100000
 core-$(CONFIG_SIBYTE_BIGSUR)   += arch/mips/sibyte/swarm/
 load-$(CONFIG_SIBYTE_BIGSUR)   := 0xffffffff80100000
 
-#
-# Broadcom BCM47XX boards
-#
-core-$(CONFIG_BCM47XX)         += arch/mips/bcm47xx/
-cflags-$(CONFIG_BCM47XX)       += -I$(srctree)/arch/mips/include/asm/mach-bcm47xx
-load-$(CONFIG_BCM47XX)         := 0xffffffff80001000
-
 #
 # Broadcom BCM63XX boards
 #
diff --git a/arch/mips/bcm47xx/Platform b/arch/mips/bcm47xx/Platform
new file mode 100644 (file)
index 0000000..874b7ca
--- /dev/null
@@ -0,0 +1,7 @@
+#
+# Broadcom BCM47XX boards
+#
+platform-$(CONFIG_BCM47XX)     += bcm47xx/
+cflags-$(CONFIG_BCM47XX)       +=                                      \
+               -I$(srctree)/arch/mips/include/asm/mach-bcm47xx
+load-$(CONFIG_BCM47XX)         := 0xffffffff80001000