15b3b1688SDavid Daney# 25b3b1688SDavid Daney# Makefile for the Cavium Octeon specific kernel interface routines 35b3b1688SDavid Daney# under Linux. 45b3b1688SDavid Daney# 55b3b1688SDavid Daney# This file is subject to the terms and conditions of the GNU General Public 65b3b1688SDavid Daney# License. See the file "COPYING" in the main directory of this archive 75b3b1688SDavid Daney# for more details. 85b3b1688SDavid Daney# 9512254baSDavid Daney# Copyright (C) 2005-2009 Cavium Networks 105b3b1688SDavid Daney# 115b3b1688SDavid Daney 127ed18152SDavid DaneyCFLAGS_octeon-platform.o = -I$(src)/../../../scripts/dtc/libfdt 137ed18152SDavid DaneyCFLAGS_setup.o = -I$(src)/../../../scripts/dtc/libfdt 147ed18152SDavid Daney 15*fde17990SDavid Daneyobj-y := cpu.o setup.o octeon-platform.o octeon-irq.o csrc-octeon.o 165b3b1688SDavid Daneyobj-y += dma-octeon.o flash_setup.o 175b3b1688SDavid Daneyobj-y += octeon-memcpy.o 18f6e1db1bSRalf Baechleobj-y += executive/ 195b3b1688SDavid Daney 205b3b1688SDavid Daneyobj-$(CONFIG_SMP) += smp.o 210e49caf6SVenkat Subbiahobj-$(CONFIG_OCTEON_ILM) += oct_ilm.o 22736b1c9cSDavid Daney 23736b1c9cSDavid DaneyDTS_FILES = octeon_3xxx.dts octeon_68xx.dts 24736b1c9cSDavid DaneyDTB_FILES = $(patsubst %.dts, %.dtb, $(DTS_FILES)) 25736b1c9cSDavid Daney 26736b1c9cSDavid Daneyobj-y += $(patsubst %.dts, %.dtb.o, $(DTS_FILES)) 27736b1c9cSDavid Daney 28736b1c9cSDavid Daney# Let's keep the .dtb files around in case we want to look at them. 29736b1c9cSDavid Daney.SECONDARY: $(addprefix $(obj)/, $(DTB_FILES)) 30736b1c9cSDavid Daney 31736b1c9cSDavid Daneyclean-files += $(DTB_FILES) $(patsubst %.dtb, %.dtb.S, $(DTB_FILES)) 32