2009-01-09 01:46:40 +01:00
|
|
|
#
|
|
|
|
# Makefile for the Cavium Octeon specific kernel interface routines
|
|
|
|
# under Linux.
|
|
|
|
#
|
|
|
|
# This file is subject to the terms and conditions of the GNU General Public
|
|
|
|
# License. See the file "COPYING" in the main directory of this archive
|
|
|
|
# for more details.
|
|
|
|
#
|
2009-09-16 23:54:18 +02:00
|
|
|
# Copyright (C) 2005-2009 Cavium Networks
|
2009-01-09 01:46:40 +01:00
|
|
|
#
|
|
|
|
|
2012-07-05 18:12:38 +02:00
|
|
|
CFLAGS_octeon-platform.o = -I$(src)/../../../scripts/dtc/libfdt
|
|
|
|
CFLAGS_setup.o = -I$(src)/../../../scripts/dtc/libfdt
|
|
|
|
|
2013-06-19 22:37:28 +02:00
|
|
|
obj-y := cpu.o setup.o octeon-platform.o octeon-irq.o csrc-octeon.o
|
2013-06-13 02:26:34 +02:00
|
|
|
obj-y += dma-octeon.o
|
2009-01-09 01:46:40 +01:00
|
|
|
obj-y += octeon-memcpy.o
|
2010-08-05 14:25:54 +02:00
|
|
|
obj-y += executive/
|
2009-01-09 01:46:40 +01:00
|
|
|
|
2013-06-13 02:26:34 +02:00
|
|
|
obj-$(CONFIG_MTD) += flash_setup.o
|
2013-01-22 12:59:30 +01:00
|
|
|
obj-$(CONFIG_SMP) += smp.o
|
2012-12-02 01:51:26 +01:00
|
|
|
obj-$(CONFIG_OCTEON_ILM) += oct_ilm.o
|
2012-07-05 18:12:38 +02:00
|
|
|
|
|
|
|
DTS_FILES = octeon_3xxx.dts octeon_68xx.dts
|
|
|
|
DTB_FILES = $(patsubst %.dts, %.dtb, $(DTS_FILES))
|
|
|
|
|
|
|
|
obj-y += $(patsubst %.dts, %.dtb.o, $(DTS_FILES))
|
|
|
|
|
|
|
|
# Let's keep the .dtb files around in case we want to look at them.
|
|
|
|
.SECONDARY: $(addprefix $(obj)/, $(DTB_FILES))
|
|
|
|
|
|
|
|
clean-files += $(DTB_FILES) $(patsubst %.dtb, %.dtb.S, $(DTB_FILES))
|