1#
2# Copyright 2021 NXP
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7# Compile time defines used by NXP platforms
8
9PLAT_DEF_OID := yes
10
11ifeq (${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
19INC_DIR += -I../../plat/nxp/common/fip_handler/common/
20
21PDEF_CERT_TOOL_PATH		:=	../nxp/cert_create_helper
22PLAT_INCLUDE			+=	-I${PDEF_CERT_TOOL_PATH}/include
23
24PLAT_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
30OBJECTS				+= ${PLAT_OBJECTS}
31endif
32