mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-20 19:23:57 +08:00
7ed1815296
If a compiled in device tree template is used, trim out unwanted parts based on legacy platform probing. Signed-off-by: David Daney <david.daney@cavium.com> Cc: linux-mips@linux-mips.org Cc: devicetree-discuss@lists.ozlabs.org Cc: Grant Likely <grant.likely@secretlab.ca> Cc: Rob Herring <rob.herring@calxeda.com> Cc: linux-kernel@vger.kernel.org Cc: David Daney <david.daney@cavium.com> Patchwork: https://patchwork.linux-mips.org/patch/3935/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
34 lines
1.0 KiB
Makefile
34 lines
1.0 KiB
Makefile
#
|
|
# 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.
|
|
#
|
|
# Copyright (C) 2005-2009 Cavium Networks
|
|
#
|
|
|
|
CFLAGS_octeon-platform.o = -I$(src)/../../../scripts/dtc/libfdt
|
|
CFLAGS_setup.o = -I$(src)/../../../scripts/dtc/libfdt
|
|
|
|
obj-y := cpu.o setup.o serial.o octeon-platform.o octeon-irq.o csrc-octeon.o
|
|
obj-y += dma-octeon.o flash_setup.o
|
|
obj-y += octeon-memcpy.o
|
|
obj-y += executive/
|
|
|
|
obj-$(CONFIG_SMP) += smp.o
|
|
|
|
DTS_FILES = octeon_3xxx.dts octeon_68xx.dts
|
|
DTB_FILES = $(patsubst %.dts, %.dtb, $(DTS_FILES))
|
|
|
|
obj-y += $(patsubst %.dts, %.dtb.o, $(DTS_FILES))
|
|
|
|
$(obj)/%.dtb: $(src)/%.dts FORCE
|
|
$(call if_changed_dep,dtc)
|
|
|
|
# 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))
|