summaryrefslogtreecommitdiffstats
path: root/arch/mips/pnx833x
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2010-08-05 14:25:56 +0200
committerRalf Baechle <ralf@linux-mips.org>2010-08-05 14:25:56 +0200
commit91a548d57e9c95bb47b66d9d3ac0bf381619a6e7 (patch)
tree4ed552b8cd6d9454af952e2e34d6c648d166431e /arch/mips/pnx833x
parentMIPS: STB8550: Move boards over to obj-y (diff)
downloadlinux-91a548d57e9c95bb47b66d9d3ac0bf381619a6e7.tar.xz
linux-91a548d57e9c95bb47b66d9d3ac0bf381619a6e7.zip
MIPS: PNX833x: Migrate to new platform makefile style.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/pnx833x')
-rw-r--r--arch/mips/pnx833x/Makefile3
-rw-r--r--arch/mips/pnx833x/Platform5
-rw-r--r--arch/mips/pnx833x/common/Makefile2
-rw-r--r--arch/mips/pnx833x/stb22x/Makefile2
4 files changed, 8 insertions, 4 deletions
diff --git a/arch/mips/pnx833x/Makefile b/arch/mips/pnx833x/Makefile
new file mode 100644
index 000000000000..02c4698cab05
--- /dev/null
+++ b/arch/mips/pnx833x/Makefile
@@ -0,0 +1,3 @@
+obj-$(CONFIG_SOC_PNX833X) += common/
+obj-$(CONFIG_NXP_STB220) += stb22x/
+obj-$(CONFIG_NXP_STB225) += stb22x/
diff --git a/arch/mips/pnx833x/Platform b/arch/mips/pnx833x/Platform
new file mode 100644
index 000000000000..7e6ec4dbc8dd
--- /dev/null
+++ b/arch/mips/pnx833x/Platform
@@ -0,0 +1,5 @@
+# NXP STB225
+platform-$(CONFIG_SOC_PNX833X) += pnx833x/
+cflags-$(CONFIG_SOC_PNX833X) += -Iarch/mips/include/asm/mach-pnx833x
+load-$(CONFIG_NXP_STB220) += 0xffffffff80001000
+load-$(CONFIG_NXP_STB225) += 0xffffffff80001000
diff --git a/arch/mips/pnx833x/common/Makefile b/arch/mips/pnx833x/common/Makefile
index 4a16f3b503b5..1a46dd291b16 100644
--- a/arch/mips/pnx833x/common/Makefile
+++ b/arch/mips/pnx833x/common/Makefile
@@ -1,3 +1 @@
obj-y := interrupts.o platform.o prom.o setup.o reset.o
-
-EXTRA_CFLAGS += -Werror
diff --git a/arch/mips/pnx833x/stb22x/Makefile b/arch/mips/pnx833x/stb22x/Makefile
index 0c4df9f22098..7b580060de50 100644
--- a/arch/mips/pnx833x/stb22x/Makefile
+++ b/arch/mips/pnx833x/stb22x/Makefile
@@ -1,3 +1 @@
obj-y := board.o
-
-EXTRA_CFLAGS += -Werror