cert_create_tbbr.mk 704 B

12345678910111213141516171819202122232425262728293031
  1. #
  2. # Copyright 2021 NXP
  3. #
  4. # SPDX-License-Identifier: BSD-3-Clause
  5. #
  6. # Compile time defines used by NXP platforms
  7. PLAT_DEF_OID := yes
  8. ifeq (${PLAT_DEF_OID},yes)
  9. $(eval $(call add_define, PLAT_DEF_OID))
  10. $(eval $(call add_define, PDEF_KEYS))
  11. $(eval $(call add_define, PDEF_CERTS))
  12. $(eval $(call add_define, PDEF_EXTS))
  13. INC_DIR += -I../../plat/nxp/common/fip_handler/common/
  14. PDEF_CERT_TOOL_PATH := ../nxp/cert_create_helper
  15. PLAT_INCLUDE += -I${PDEF_CERT_TOOL_PATH}/include
  16. PLAT_OBJECTS += ${PDEF_CERT_TOOL_PATH}/src/pdef_tbb_cert.o \
  17. ${PDEF_CERT_TOOL_PATH}/src/pdef_tbb_ext.o \
  18. ${PDEF_CERT_TOOL_PATH}/src/pdef_tbb_key.o
  19. $(shell rm ${PLAT_OBJECTS})
  20. OBJECTS += ${PLAT_OBJECTS}
  21. endif