summaryrefslogtreecommitdiff
path: root/src/mainboard/cavium/cn8100_sff_evb/Makefile.inc
blob: bd2ea797d74c306bb32a225aa12bb1ef6b4825fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
## SPDX-License-Identifier: GPL-2.0-only

bootblock-y += bootblock.c

romstage-y += romstage.c
romstage-y += bdk_devicetree.c

ramstage-y += mainboard.c
ramstage-y += bdk_devicetree.c

MB_DIR = src/mainboard/$(MAINBOARDDIR)

LINUX_DTB = sff8104-linux.dtb
$(obj)/$(LINUX_DTB):
	# FIXME: why isn't this producing the correct size DTB?
	dtc -p 4096 -I dts -O dtb -o $(obj)/$(LINUX_DTB) -i $(MB_DIR) $(MB_DIR)/$(patsubst %.dtb,%.dts,$(LINUX_DTB))

cbfs-files-y += $(LINUX_DTB)
$(LINUX_DTB)-file := $(obj)/$(LINUX_DTB)
$(LINUX_DTB)-type := raw