Linux 3.15-rc1
[linux/fpc-iii.git] / arch / mips / cavium-octeon / Makefile
blob4e952043c922177590a01540af71304ae51dc120
2 # Makefile for the Cavium Octeon specific kernel interface routines
3 # under Linux.
5 # This file is subject to the terms and conditions of the GNU General Public
6 # License. See the file "COPYING" in the main directory of this archive
7 # for more details.
9 # Copyright (C) 2005-2009 Cavium Networks
12 CFLAGS_octeon-platform.o = -I$(src)/../../../scripts/dtc/libfdt
13 CFLAGS_setup.o = -I$(src)/../../../scripts/dtc/libfdt
15 obj-y := cpu.o setup.o octeon-platform.o octeon-irq.o csrc-octeon.o
16 obj-y += dma-octeon.o
17 obj-y += octeon-memcpy.o
18 obj-y += executive/
20 obj-$(CONFIG_MTD) += flash_setup.o
21 obj-$(CONFIG_SMP) += smp.o
22 obj-$(CONFIG_OCTEON_ILM) += oct_ilm.o
24 DTS_FILES = octeon_3xxx.dts octeon_68xx.dts
25 DTB_FILES = $(patsubst %.dts, %.dtb, $(DTS_FILES))
27 obj-y += $(patsubst %.dts, %.dtb.o, $(DTS_FILES))
29 # Let's keep the .dtb files around in case we want to look at them.
30 .SECONDARY: $(addprefix $(obj)/, $(DTB_FILES))
32 clean-files += $(DTB_FILES) $(patsubst %.dtb, %.dtb.S, $(DTB_FILES))