plat_fiptool.mk 826 B

1234567891011121314151617181920212223242526272829303132
  1. #
  2. # Copyright (c) 2021, NXP. All rights reserved.
  3. # Copyright (c) 2023, Arm Limited. All rights reserved.
  4. #
  5. # SPDX-License-Identifier: BSD-3-Clause
  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_CONFIG_FILE_NAME := plat_def_uuid_config
  11. PLAT_DEF_UUID_CONFIG_FILE_PATH := plat_fiptool/nxp/
  12. PLAT_DEF_OID := yes
  13. PLAT_DEF_UUID := yes
  14. PLAT_DEF_UUID_OID_CONFIG_PATH := ../../plat/nxp/common/fip_handler/common
  15. INCLUDE_PATHS += -I${PLAT_DEF_UUID_OID_CONFIG_PATH} \
  16. -I./
  17. ifeq (${PLAT_DEF_OID},yes)
  18. HOSTCCFLAGS += -DPLAT_DEF_OID
  19. endif
  20. ifeq (${PLAT_DEF_UUID},yes)
  21. HOSTCCFLAGS += -DPLAT_DEF_FIP_UUID
  22. PLAT_OBJECTS += ${PLAT_DEF_UUID_CONFIG_FILE_PATH}/${PLAT_DEF_UUID_CONFIG_FILE_NAME}.o
  23. endif
  24. OBJECTS += ${PLAT_OBJECTS}