Debian Codegraph @

tools/nxp/cert_create_helper/cert_create_tbbr.mk

raw
1 #
2 # Copyright 2021 NXP
3 #
4 # SPDX-License-Identifier: BSD-3-Clause
5 #
6
7 # Compile time defines used by NXP platforms
8
9 PLAT_DEF_OID := yes
10
11 ifeq (${PLAT_DEF_OID},yes)
12
13 $(eval $(call add_define, PLAT_DEF_OID))
14 $(eval $(call add_define, PDEF_KEYS))
15 $(eval $(call add_define, PDEF_CERTS))
16 $(eval $(call add_define, PDEF_EXTS))
17
18
19 INC_DIR += -I../../plat/nxp/common/fip_handler/common/
20
21 PDEF_CERT_TOOL_PATH := ../nxp/cert_create_helper
22 PLAT_INCLUDE += -I${PDEF_CERT_TOOL_PATH}/include
23
24 PLAT_OBJECTS += ${PDEF_CERT_TOOL_PATH}/src/pdef_tbb_cert.o \
25 ${PDEF_CERT_TOOL_PATH}/src/pdef_tbb_ext.o \
26 ${PDEF_CERT_TOOL_PATH}/src/pdef_tbb_key.o
27
28 $(shell rm ${PLAT_OBJECTS})
29
30 OBJECTS += ${PLAT_OBJECTS}
31 endif