Skip to content

Commit 026dab3

Browse files
committed
MIPS: PowerTV: Migrate to new platform makefile style.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1 parent f70a974 commit 026dab3

4 files changed

Lines changed: 9 additions & 8 deletions

File tree

‎arch/mips/Kbuild.platforms‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ platforms += loongson
99
platforms += mipssim
1010
platforms += mti-malta
1111
platforms += pmc-sierra
12+
platforms += powertv
1213
platforms += rb532
1314
platforms += sgi-ip22
1415
platforms += sgi-ip27

‎arch/mips/Makefile‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -236,13 +236,6 @@ cflags-$(CONFIG_SOC_EMMA2RH) += -I$(srctree)/arch/mips/include/asm/mach-emma2rh
236236
core-$(CONFIG_NEC_MARKEINS) += arch/mips/emma/markeins/
237237
load-$(CONFIG_NEC_MARKEINS) += 0xffffffff88100000
238238

239-
#
240-
# Cisco PowerTV Platform
241-
#
242-
core-$(CONFIG_POWERTV) += arch/mips/powertv/
243-
cflags-$(CONFIG_POWERTV) += -I$(srctree)/arch/mips/include/asm/mach-powertv
244-
load-$(CONFIG_POWERTV) += 0xffffffff90800000
245-
246239
#
247240
# Sibyte SB1250/BCM1480 SOC
248241
#

‎arch/mips/powertv/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@
2626
obj-y += init.o ioremap.o memory.o powertv_setup.o reset.o time.o \
2727
asic/ pci/
2828

29-
EXTRA_CFLAGS += -Wall -Werror
29+
EXTRA_CFLAGS += -Wall

‎arch/mips/powertv/Platform‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#
2+
# Cisco PowerTV Platform
3+
#
4+
platform-$(CONFIG_POWERTV) += powertv/
5+
cflags-$(CONFIG_POWERTV) += \
6+
-I$(srctree)/arch/mips/include/asm/mach-powertv
7+
load-$(CONFIG_POWERTV) += 0xffffffff90800000

0 commit comments

Comments
 (0)