xref: /rk3399_ARM-atf/tools/fiptool/plat_fiptool/nxp/plat_fiptool.mk (revision cbd6cec3c35f22733034fbdd4801efe20d26ba9a)
1034a2e3eSRaef Coles#
2034a2e3eSRaef Coles# Copyright (c) 2021, NXP. All rights reserved.
3*cbd6cec3SBoyan Karatotev# Copyright (c) 2023-2025, Arm Limited. All rights reserved.
4034a2e3eSRaef Coles#
5034a2e3eSRaef Coles# SPDX-License-Identifier: BSD-3-Clause
6034a2e3eSRaef Coles#
7034a2e3eSRaef Coles
8034a2e3eSRaef Coles# Name of the platform defined source file name,
9034a2e3eSRaef Coles# which contains platform defined UUID entries populated
10034a2e3eSRaef Coles# in the plat_def_toc_entries[].
11034a2e3eSRaef ColesPLAT_DEF_UUID_CONFIG_FILE_NAME	:= plat_def_uuid_config
12034a2e3eSRaef Coles
13034a2e3eSRaef ColesPLAT_DEF_UUID_CONFIG_FILE_PATH := plat_fiptool/nxp/
14034a2e3eSRaef Coles
15034a2e3eSRaef ColesPLAT_DEF_OID := yes
16034a2e3eSRaef ColesPLAT_DEF_UUID := yes
17034a2e3eSRaef ColesPLAT_DEF_UUID_OID_CONFIG_PATH := ../../plat/nxp/common/fip_handler/common
18034a2e3eSRaef Coles
19034a2e3eSRaef Coles
20*cbd6cec3SBoyan KaratotevFIPTOOL_INCLUDE_DIRS += ${PLAT_DEF_UUID_OID_CONFIG_PATH} \
21*cbd6cec3SBoyan Karatotev			./
22034a2e3eSRaef Coles
23034a2e3eSRaef Colesifeq (${PLAT_DEF_OID},yes)
24*cbd6cec3SBoyan KaratotevFIPTOOL_DEFINES += PLAT_DEF_OID
25034a2e3eSRaef Colesendif
26034a2e3eSRaef Coles
27034a2e3eSRaef Colesifeq (${PLAT_DEF_UUID},yes)
28*cbd6cec3SBoyan KaratotevFIPTOOL_DEFINES += PLAT_DEF_FIP_UUID
29*cbd6cec3SBoyan KaratotevFIPTOOL_SOURCES += ${PLAT_DEF_UUID_CONFIG_FILE_PATH}/${PLAT_DEF_UUID_CONFIG_FILE_NAME}.c
30034a2e3eSRaef Colesendif
31