xref: /rk3399_ARM-atf/tools/fiptool/plat_fiptool/nxp/plat_fiptool.mk (revision 034a2e3ef8a9e8e58f7cb7fab6db4ee60b2f9c29)
1*034a2e3eSRaef Coles#
2*034a2e3eSRaef Coles# Copyright (c) 2021, NXP. All rights reserved.
3*034a2e3eSRaef Coles# Copyright (c) 2023, Arm Limited. All rights reserved.
4*034a2e3eSRaef Coles#
5*034a2e3eSRaef Coles# SPDX-License-Identifier: BSD-3-Clause
6*034a2e3eSRaef Coles#
7*034a2e3eSRaef Coles
8*034a2e3eSRaef Coles# Name of the platform defined source file name,
9*034a2e3eSRaef Coles# which contains platform defined UUID entries populated
10*034a2e3eSRaef Coles# in the plat_def_toc_entries[].
11*034a2e3eSRaef ColesPLAT_DEF_UUID_CONFIG_FILE_NAME	:= plat_def_uuid_config
12*034a2e3eSRaef Coles
13*034a2e3eSRaef ColesPLAT_DEF_UUID_CONFIG_FILE_PATH := plat_fiptool/nxp/
14*034a2e3eSRaef Coles
15*034a2e3eSRaef ColesPLAT_DEF_OID := yes
16*034a2e3eSRaef ColesPLAT_DEF_UUID := yes
17*034a2e3eSRaef ColesPLAT_DEF_UUID_OID_CONFIG_PATH := ../../plat/nxp/common/fip_handler/common
18*034a2e3eSRaef Coles
19*034a2e3eSRaef Coles
20*034a2e3eSRaef ColesINCLUDE_PATHS += -I${PLAT_DEF_UUID_OID_CONFIG_PATH} \
21*034a2e3eSRaef Coles		 -I./
22*034a2e3eSRaef Coles
23*034a2e3eSRaef Colesifeq (${PLAT_DEF_OID},yes)
24*034a2e3eSRaef ColesHOSTCCFLAGS += -DPLAT_DEF_OID
25*034a2e3eSRaef Colesendif
26*034a2e3eSRaef Coles
27*034a2e3eSRaef Colesifeq (${PLAT_DEF_UUID},yes)
28*034a2e3eSRaef ColesHOSTCCFLAGS += -DPLAT_DEF_FIP_UUID
29*034a2e3eSRaef ColesPLAT_OBJECTS += ${PLAT_DEF_UUID_CONFIG_FILE_PATH}/${PLAT_DEF_UUID_CONFIG_FILE_NAME}.o
30*034a2e3eSRaef Colesendif
31*034a2e3eSRaef Coles
32*034a2e3eSRaef ColesOBJECTS += ${PLAT_OBJECTS}
33