mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 01:54:22 +00:00

Changes to 'tools/cert_create' folder, to include platform defined certificates, keys, and extensions. NXP SoC lx2160a : based platforms requires additional FIP DDR to be loaded before initializing the DDR. To enable chain of trust on these platforms, FIP DDR image needs to be authenticated, additionally. Platform specific folder 'tools/nxp/cert_create_helper' is added to support platform specific macros and definitions. Signed-off-by: Pankaj Gupta <pankaj.gupta@nxp.com> Change-Id: I4752a30a9ff3aa1d403e9babe3a07ba0e6b2bf8f
31 lines
704 B
Makefile
31 lines
704 B
Makefile
#
|
|
# Copyright 2021 NXP
|
|
#
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
#
|
|
|
|
# Compile time defines used by NXP platforms
|
|
|
|
PLAT_DEF_OID := yes
|
|
|
|
ifeq (${PLAT_DEF_OID},yes)
|
|
|
|
$(eval $(call add_define, PLAT_DEF_OID))
|
|
$(eval $(call add_define, PDEF_KEYS))
|
|
$(eval $(call add_define, PDEF_CERTS))
|
|
$(eval $(call add_define, PDEF_EXTS))
|
|
|
|
|
|
INC_DIR += -I../../plat/nxp/common/fip_handler/common/
|
|
|
|
PDEF_CERT_TOOL_PATH := ../nxp/cert_create_helper
|
|
PLAT_INCLUDE += -I${PDEF_CERT_TOOL_PATH}/include
|
|
|
|
PLAT_OBJECTS += ${PDEF_CERT_TOOL_PATH}/src/pdef_tbb_cert.o \
|
|
${PDEF_CERT_TOOL_PATH}/src/pdef_tbb_ext.o \
|
|
${PDEF_CERT_TOOL_PATH}/src/pdef_tbb_key.o
|
|
|
|
$(shell rm ${PLAT_OBJECTS})
|
|
|
|
OBJECTS += ${PLAT_OBJECTS}
|
|
endif
|