diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2010-08-05 08:25:54 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-08-05 08:25:54 -0400 |
commit | f6e1db1b87a9199275694d10713d4baa80030fc7 (patch) | |
tree | a1f0aab919bc3418545e390c3937ab56dd2adf9f /arch/mips/cavium-octeon | |
parent | f5e8abd6f1fdba3abf6675700069005e25531208 (diff) |
MIPS: Octeon: Migrate to new platform makefile style.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/cavium-octeon')
-rw-r--r-- | arch/mips/cavium-octeon/Makefile | 3 | ||||
-rw-r--r-- | arch/mips/cavium-octeon/Platform | 11 |
2 files changed, 12 insertions, 2 deletions
diff --git a/arch/mips/cavium-octeon/Makefile b/arch/mips/cavium-octeon/Makefile index 3e9876317e61..19eb0434269f 100644 --- a/arch/mips/cavium-octeon/Makefile +++ b/arch/mips/cavium-octeon/Makefile | |||
@@ -12,7 +12,6 @@ | |||
12 | obj-y := cpu.o setup.o serial.o octeon-platform.o octeon-irq.o csrc-octeon.o | 12 | obj-y := cpu.o setup.o serial.o octeon-platform.o octeon-irq.o csrc-octeon.o |
13 | obj-y += dma-octeon.o flash_setup.o | 13 | obj-y += dma-octeon.o flash_setup.o |
14 | obj-y += octeon-memcpy.o | 14 | obj-y += octeon-memcpy.o |
15 | obj-y += executive/ | ||
15 | 16 | ||
16 | obj-$(CONFIG_SMP) += smp.o | 17 | obj-$(CONFIG_SMP) += smp.o |
17 | |||
18 | EXTRA_CFLAGS += -Werror | ||
diff --git a/arch/mips/cavium-octeon/Platform b/arch/mips/cavium-octeon/Platform new file mode 100644 index 000000000000..1e43ccf1a792 --- /dev/null +++ b/arch/mips/cavium-octeon/Platform | |||
@@ -0,0 +1,11 @@ | |||
1 | # | ||
2 | # Cavium Octeon | ||
3 | # | ||
4 | platform-$(CONFIG_CPU_CAVIUM_OCTEON) += cavium-octeon/ | ||
5 | cflags-$(CONFIG_CPU_CAVIUM_OCTEON) += \ | ||
6 | -I$(srctree)/arch/mips/include/asm/mach-cavium-octeon | ||
7 | ifdef CONFIG_CAVIUM_OCTEON_2ND_KERNEL | ||
8 | load-$(CONFIG_CPU_CAVIUM_OCTEON) += 0xffffffff84100000 | ||
9 | else | ||
10 | load-$(CONFIG_CPU_CAVIUM_OCTEON) += 0xffffffff81100000 | ||
11 | endif | ||