blob: 0e135568924b6b84e8656956a81b0bd7b08284ad [file] [log] [blame]
Raef Colesaa70fe22022-12-14 15:02:16 +00001#
2# Copyright (c) 2021, NXP. All rights reserved.
3# Copyright (c) 2022, 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/arm/board/tc
14
15PLAT_DEF_UUID := yes
16PLAT_DEF_UUID_OID_CONFIG_PATH := ../../plat/arm/board/tc
17
18
19INCLUDE_PATHS += -I${PLAT_DEF_UUID_OID_CONFIG_PATH} \
20 -I./
21# Clean the stale object file.
22$(shell rm ${PLAT_DEF_UUID_CONFIG_FILE_PATH}/${PLAT_DEF_UUID_CONFIG_FILE_NAME}.o)
23
24ifeq (${PLAT_DEF_OID},yes)
25HOSTCCFLAGS += -DPLAT_DEF_OID
26endif
27
28ifeq (${PLAT_DEF_UUID},yes)
29HOSTCCFLAGS += -DPLAT_DEF_FIP_UUID
30PLAT_OBJECTS += ${PLAT_DEF_UUID_CONFIG_FILE_PATH}/${PLAT_DEF_UUID_CONFIG_FILE_NAME}.o
31endif
32
33OBJECTS += ${PLAT_OBJECTS}