Pankaj Gupta | e4aa1bd | 2020-12-09 14:02:38 +0530 | [diff] [blame] | 1 | # |
| 2 | # Copyright (c) 2021, NXP. All rights reserved. |
Raef Coles | f511dca | 2023-02-01 15:55:08 +0000 | [diff] [blame] | 3 | # Copyright (c) 2023, Arm Limited. All rights reserved. |
Pankaj Gupta | e4aa1bd | 2020-12-09 14:02:38 +0530 | [diff] [blame] | 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[]. |
| 11 | PLAT_DEF_UUID_CONFIG_FILE_NAME := plat_def_uuid_config |
| 12 | |
Raef Coles | f511dca | 2023-02-01 15:55:08 +0000 | [diff] [blame] | 13 | PLAT_DEF_UUID_CONFIG_FILE_PATH := plat_fiptool/nxp/ |
Pankaj Gupta | e4aa1bd | 2020-12-09 14:02:38 +0530 | [diff] [blame] | 14 | |
| 15 | PLAT_DEF_OID := yes |
| 16 | PLAT_DEF_UUID := yes |
| 17 | PLAT_DEF_UUID_OID_CONFIG_PATH := ../../plat/nxp/common/fip_handler/common |
| 18 | |
| 19 | |
| 20 | INCLUDE_PATHS += -I${PLAT_DEF_UUID_OID_CONFIG_PATH} \ |
| 21 | -I./ |
Pankaj Gupta | e4aa1bd | 2020-12-09 14:02:38 +0530 | [diff] [blame] | 22 | |
| 23 | ifeq (${PLAT_DEF_OID},yes) |
| 24 | HOSTCCFLAGS += -DPLAT_DEF_OID |
| 25 | endif |
| 26 | |
| 27 | ifeq (${PLAT_DEF_UUID},yes) |
| 28 | HOSTCCFLAGS += -DPLAT_DEF_FIP_UUID |
| 29 | PLAT_OBJECTS += ${PLAT_DEF_UUID_CONFIG_FILE_PATH}/${PLAT_DEF_UUID_CONFIG_FILE_NAME}.o |
| 30 | endif |
| 31 | |
| 32 | OBJECTS += ${PLAT_OBJECTS} |