plat_fiptool.mk 668 B

12345678910111213141516171819202122232425
  1. #
  2. # Copyright (c) 2021-2024, STMicroelectronics - All Rights Reserved
  3. #
  4. # SPDX-License-Identifier: BSD-3-Clause
  5. #
  6. # Name of the platform defined source file name,
  7. # which contains platform defined UUID entries populated
  8. # in the plat_def_toc_entries[].
  9. PLAT_DEF_UUID_FILE_NAME := plat_def_uuid_config
  10. INCLUDE_PATHS += -I../../plat/st/common/include -I./
  11. PLAT_DEF_UUID := yes
  12. ifeq (${PLAT_DEF_UUID},yes)
  13. HOSTCCFLAGS += -DPLAT_DEF_FIP_UUID
  14. ${PLAT_DEF_UUID_FILE_NAME}.o: plat_fiptool/st/${PLAT_DEF_UUID_FILE_NAME}.c
  15. $(host-cc) -c ${CPPFLAGS} ${HOSTCCFLAGS} ${INCLUDE_PATHS} $< -o $@
  16. PLAT_OBJECTS += ${PLAT_DEF_UUID_FILE_NAME}.o
  17. endif
  18. OBJECTS += ${PLAT_OBJECTS}