blob: 00570c2b3f0d6469e4ecf5f296c6abfb7d6b276a [file] [log] [blame]
Lionel Debieve15536e12022-10-06 08:54:23 +02001#
2# Copyright (c) 2021-2022, STMicroelectronics - All Rights Reserved
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7# Name of the platform defined source file name,
8# which contains platform defined UUID entries populated
9# in the plat_def_toc_entries[].
10PLAT_DEF_UUID_FILE_NAME := plat_def_uuid_config
11
12INCLUDE_PATHS += -I${PLAT_DIR}/include -I./
13
14PLAT_DEF_UUID := yes
15
16ifeq (${PLAT_DEF_UUID},yes)
17HOSTCCFLAGS += -DPLAT_DEF_FIP_UUID
18
19${PLAT_DEF_UUID_FILE_NAME}.o: ${PLAT_DIR}${PLAT_DEF_UUID_FILE_NAME}.c
20 ${HOSTCC} -c ${CPPFLAGS} ${HOSTCCFLAGS} ${INCLUDE_PATHS} $< -o $@
21
22PLAT_OBJECTS += ${PLAT_DEF_UUID_FILE_NAME}.o
23endif
24
25OBJECTS += ${PLAT_OBJECTS}