aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2010-08-05 13:25:52 +0100
committerRalf Baechle <ralf@linux-mips.org>2010-08-05 13:25:52 +0100
commit026dab3c51d3d6129cf66f24bc592e9315856fdb (patch)
tree6fae87de1e7c2b8a2b54fb4a19c29d8f27549648 /arch
parentf70a974dd04619575723331a4f767254b76e3c8e (diff)
MIPS: PowerTV: Migrate to new platform makefile style.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/Kbuild.platforms1
-rw-r--r--arch/mips/Makefile7
-rw-r--r--arch/mips/powertv/Makefile2
-rw-r--r--arch/mips/powertv/Platform7
4 files changed, 9 insertions, 8 deletions
diff --git a/arch/mips/Kbuild.platforms b/arch/mips/Kbuild.platforms
index ad35f7bb8cd..31bba5b095d 100644
--- a/arch/mips/Kbuild.platforms
+++ b/arch/mips/Kbuild.platforms
@@ -9,6 +9,7 @@ platforms += loongson
platforms += mipssim
platforms += mti-malta
platforms += pmc-sierra
+platforms += powertv
platforms += rb532
platforms += sgi-ip22
platforms += sgi-ip27
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index ff681502f6d..c983a8777b0 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -237,13 +237,6 @@ core-$(CONFIG_NEC_MARKEINS) += arch/mips/emma/markeins/
load-$(CONFIG_NEC_MARKEINS) += 0xffffffff88100000
#
-# Cisco PowerTV Platform
-#
-core-$(CONFIG_POWERTV) += arch/mips/powertv/
-cflags-$(CONFIG_POWERTV) += -I$(srctree)/arch/mips/include/asm/mach-powertv
-load-$(CONFIG_POWERTV) += 0xffffffff90800000
-
-#
# Sibyte SB1250/BCM1480 SOC
#
# This is a LIB so that it links at the end, and initcalls are later
diff --git a/arch/mips/powertv/Makefile b/arch/mips/powertv/Makefile
index e9fe1c6efe1..506c4ca9d44 100644
--- a/arch/mips/powertv/Makefile
+++ b/arch/mips/powertv/Makefile
@@ -26,4 +26,4 @@
obj-y += init.o ioremap.o memory.o powertv_setup.o reset.o time.o \
asic/ pci/
-EXTRA_CFLAGS += -Wall -Werror
+EXTRA_CFLAGS += -Wall
diff --git a/arch/mips/powertv/Platform b/arch/mips/powertv/Platform
new file mode 100644
index 00000000000..4eb5af1d8ee
--- /dev/null
+++ b/arch/mips/powertv/Platform
@@ -0,0 +1,7 @@
+#
+# Cisco PowerTV Platform
+#
+platform-$(CONFIG_POWERTV) += powertv/
+cflags-$(CONFIG_POWERTV) += \
+ -I$(srctree)/arch/mips/include/asm/mach-powertv
+load-$(CONFIG_POWERTV) += 0xffffffff90800000