xref: /rk3399_ARM-atf/tools/fiptool/plat_fiptool/nxp/plat_fiptool.mk (revision b67e984664a8644d6cfd1812cabaa02cf24f09c9)
1#
2# Copyright (c) 2021, NXP. All rights reserved.
3# Copyright (c) 2023-2025, Arm Limited. All rights reserved.
4#
5# SPDX-License-Identifier: BSD-3-Clause
6#
7
8# Name of the platform defined source file name,
9# which contains platform defined UUID entries populated
10# in the plat_def_toc_entries[].
11PLAT_DEF_UUID_CONFIG_FILE_NAME	:= plat_def_uuid_config
12
13PLAT_DEF_UUID_CONFIG_FILE_PATH := plat_fiptool/nxp/
14
15PLAT_DEF_OID := yes
16PLAT_DEF_UUID := yes
17PLAT_DEF_UUID_OID_CONFIG_PATH := ../../plat/nxp/common/fip_handler/common
18
19
20FIPTOOL_INCLUDE_DIRS += ${PLAT_DEF_UUID_OID_CONFIG_PATH} \
21			./
22
23ifeq (${PLAT_DEF_OID},yes)
24FIPTOOL_DEFINES += PLAT_DEF_OID
25endif
26
27ifeq (${PLAT_DEF_UUID},yes)
28FIPTOOL_DEFINES += PLAT_DEF_FIP_UUID
29FIPTOOL_SOURCES += ${PLAT_DEF_UUID_CONFIG_FILE_PATH}/${PLAT_DEF_UUID_CONFIG_FILE_NAME}.c
30endif
31