| 1 |
# |
| 2 |
# Copyright (c) 2021-2024, 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[]. |
| 10 |
PLAT_DEF_UUID_FILE_NAME := plat_def_uuid_config |
| 11 |
|
| 12 |
INCLUDE_PATHS += -I../../plat/st/common/include -I./ |
| 13 |
|
| 14 |
PLAT_DEF_UUID := yes |
| 15 |
|
| 16 |
ifeq (${PLAT_DEF_UUID},yes) |
| 17 |
HOSTCCFLAGS += -DPLAT_DEF_FIP_UUID |
| 18 |
|
| 19 |
${PLAT_DEF_UUID_FILE_NAME}.o: plat_fiptool/st/${PLAT_DEF_UUID_FILE_NAME}.c |
| 20 |
$(host-cc) -c ${CPPFLAGS} ${HOSTCCFLAGS} ${INCLUDE_PATHS} $< -o $@ |
| 21 |
|
| 22 |
PLAT_OBJECTS += ${PLAT_DEF_UUID_FILE_NAME}.o |
| 23 |
endif |
| 24 |
|
| 25 |
OBJECTS += ${PLAT_OBJECTS} |