summaryrefslogtreecommitdiffstats
path: root/src/mainboard/cavium/cn8100_sff_evb/Makefile.inc
blob: 6bf7a17bf2952e4bcff8cc82a8e9746aa67f183c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
##
## This file is part of the coreboot project.
##
##
## SPDX-License-Identifier: GPL-2.0-only

bootblock-y += bootblock.c
bootblock-y += memlayout.ld

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

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

verstage-y += memlayout.ld

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