* MIPS -queue: Move PMC-Sierra board Makefile parts to their own Platform file
@ 2010-06-03 10:34 Shane McDonald
2010-06-03 10:51 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: Shane McDonald @ 2010-06-03 10:34 UTC (permalink / raw)
To: linux-mips; +Cc: ralf
This patch moves the entries for the PMC-Sierra boards from the main
mips Makefile into their own Platform file.
Signed-off-by: Shane McDonald <mcdonald.shane@gmail.com>
---
This patch applies against the linux-queue tree.
It has been compile tested for both the MSP71xx and the yosemite
defconfigs, the yosemite one after disabling the broken Titan GE driver.
arch/mips/Kbuild.platforms | 1 +
arch/mips/Makefile | 15 ---------------
arch/mips/pmc-sierra/Platform | 14 ++++++++++++++
3 files changed, 15 insertions(+), 15 deletions(-)
create mode 100644 arch/mips/pmc-sierra/Platform
diff --git a/arch/mips/Kbuild.platforms b/arch/mips/Kbuild.platforms
index 9b6e8d7..c074ee2 100644
--- a/arch/mips/Kbuild.platforms
+++ b/arch/mips/Kbuild.platforms
@@ -5,6 +5,7 @@ platforms += ar7
platforms += cobalt
platforms += loongson
platforms += mipssim
+platforms += pmc-sierra
platforms += sgi-ip27
platforms += vr41xx
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index 6997faa..a27c645 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -222,21 +222,6 @@ load-$(CONFIG_MIPS_MALTA) += 0xffffffff80100000
all-$(CONFIG_MIPS_MALTA) := $(COMPRESSION_FNAME).bin
#
-# PMC-Sierra MSP SOCs
-#
-core-$(CONFIG_PMC_MSP) += arch/mips/pmc-sierra/msp71xx/
-cflags-$(CONFIG_PMC_MSP) += -I$(srctree)/arch/mips/include/asm/pmc-sierra/msp71xx \
- -mno-branch-likely
-load-$(CONFIG_PMC_MSP) += 0xffffffff80100000
-
-#
-# PMC-Sierra Yosemite
-#
-core-$(CONFIG_PMC_YOSEMITE) += arch/mips/pmc-sierra/yosemite/
-cflags-$(CONFIG_PMC_YOSEMITE) += -I$(srctree)/arch/mips/include/asm/mach-yosemite
-load-$(CONFIG_PMC_YOSEMITE) += 0xffffffff80100000
-
-#
# LASAT platforms
#
core-$(CONFIG_LASAT) += arch/mips/lasat/
diff --git a/arch/mips/pmc-sierra/Platform b/arch/mips/pmc-sierra/Platform
new file mode 100644
index 0000000..f092f25
--- /dev/null
+++ b/arch/mips/pmc-sierra/Platform
@@ -0,0 +1,14 @@
+#
+# PMC-Sierra MSP SOCs
+#
+platform-$(CONFIG_PMC_MSP) += pmc-sierra/msp71xx/
+cflags-$(CONFIG_PMC_MSP) += -I$(srctree)/arch/mips/include/asm/pmc-sierra/msp71xx \
+ -mno-branch-likely
+load-$(CONFIG_PMC_MSP) += 0xffffffff80100000
+
+#
+# PMC-Sierra Yosemite
+#
+platform-$(CONFIG_PMC_YOSEMITE) += pmc-sierra/yosemite/
+cflags-$(CONFIG_PMC_YOSEMITE) += -I$(srctree)/arch/mips/include/asm/mach-yosemite
+load-$(CONFIG_PMC_YOSEMITE) += 0xffffffff80100000
--
1.5.6.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-06-03 10:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-03 10:34 MIPS -queue: Move PMC-Sierra board Makefile parts to their own Platform file Shane McDonald
2010-06-03 10:51 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).