]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
MIPS: PowerTV: Migrate to new platform makefile style.
authorRalf Baechle <ralf@linux-mips.org>
Thu, 5 Aug 2010 12:25:52 +0000 (13:25 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 5 Aug 2010 12:25:52 +0000 (13:25 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kbuild.platforms
arch/mips/Makefile
arch/mips/powertv/Makefile
arch/mips/powertv/Platform [new file with mode: 0644]

index ad35f7bb8cd0ab6d81cb03e931ef2fb8a2a0262d..31bba5b095de0107a25a028d2ecefbb902190ce6 100644 (file)
@@ -9,6 +9,7 @@ platforms += loongson
 platforms += mipssim
 platforms += mti-malta
 platforms += pmc-sierra
+platforms += powertv
 platforms += rb532
 platforms += sgi-ip22
 platforms += sgi-ip27
index ff681502f6df1df6a98421ed84ed3a445ab96f0d..c983a8777b06206f90b8f836650c9220440cf3fc 100644 (file)
@@ -236,13 +236,6 @@ cflags-$(CONFIG_SOC_EMMA2RH)       += -I$(srctree)/arch/mips/include/asm/mach-emma2rh
 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
 #
index e9fe1c6efe163017644b941360d388e0ac30ada5..506c4ca9d44a991f7635c8ee92fbf144be157e8a 100644 (file)
@@ -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 (file)
index 0000000..4eb5af1
--- /dev/null
@@ -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