1# 2# Copyright (c) 2021, 2025 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[]. 11ifeq (,$(findstring s32,${PLAT})) 12PLAT_DEF_UUID_CONFIG_FILE_NAME := plat_def_uuid_config 13 14PLAT_DEF_UUID_CONFIG_FILE_PATH := plat_fiptool/nxp/ 15 16PLAT_DEF_OID := yes 17PLAT_DEF_UUID := yes 18PLAT_DEF_UUID_OID_CONFIG_PATH := ../../plat/nxp/common/fip_handler/common 19 20 21FIPTOOL_INCLUDE_DIRS += ${PLAT_DEF_UUID_OID_CONFIG_PATH} \ 22 ./ 23 24ifeq (${PLAT_DEF_OID},yes) 25FIPTOOL_DEFINES += PLAT_DEF_OID 26endif 27 28ifeq (${PLAT_DEF_UUID},yes) 29FIPTOOL_DEFINES += PLAT_DEF_FIP_UUID 30FIPTOOL_SOURCES += ${PLAT_DEF_UUID_CONFIG_FILE_PATH}/${PLAT_DEF_UUID_CONFIG_FILE_NAME}.c 31endif 32 33endif 34