summaryrefslogtreecommitdiff
path: root/src/mainboard/emulation/qemu-sbsa/Makefile.mk
blob: e3855bae03cc712a875af3bc7bb85d846a1a46c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# SPDX-License-Identifier: GPL-2.0-or-later

bootblock-y += bootblock.c

romstage-y += cbmem.c

bootblock-y += media.c
romstage-y += media.c
ramstage-y += media.c

bootblock-y += mmio.c
romstage-y += mmio.c
ramstage-y += mmio.c

ramstage-y += acpi.c

bootblock-y += bootblock_custom.S

CPPFLAGS_common += -mcmodel=large -I$(src)/mainboard/$(MAINBOARDDIR)/include

build_complete::
	@printf "Truncating coreboot.rom to 256M\n"
	truncate -s 256M $(obj)/coreboot.rom