summaryrefslogtreecommitdiff
path: root/src/vendorcode/eltan/security/mboot/Makefile.inc
blob: 22729aff361dc1a183ae3d3a05526075852969e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
## SPDX-License-Identifier: GPL-2.0-only

ifneq ($(filter y,$(CONFIG_VENDORCODE_ELTAN_VBOOT) $(CONFIG_VENDORCODE_ELTAN_MBOOT)),)
CPPFLAGS_common += -I$(src)/security/mboot
endif

ifeq ($(CONFIG_VENDORCODE_ELTAN_MBOOT),y)
postcar-y += mboot.c

ramstage-y += mboot.c
ramstage-y += mboot_func.c

romstage-y += mboot.c
CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)

endif # CONFIG_VENDORCODE_ELTAN_VBOOT or CONFIG_VENDORCODE_ELTAN_MBOOT