#
# Copyright (c) 2022, STMicroelectronics - All Rights Reserved
#
# SPDX-License-Identifier: BSD-3-Clause
#

# Override TBBR Cert to update generic certificate

$(eval $(call add_define,PDEF_CERTS))

PLAT_INCLUDE	+= -I${PLAT_DIR}include

src/stm32mp1_tbb_cert.o: ${PLAT_DIR}stm32mp1_tbb_cert.c
	$(q)$(host-cc) -c ${HOSTCCFLAGS} ${INC_DIR} $< -o $@

PLAT_OBJECTS	= src/stm32mp1_tbb_cert.o

OBJECTS		+= $(PLAT_OBJECTS)
