| 1 |
# |
| 2 |
# Copyright (c) 2020, Arm Limited. All rights reserved. |
| 3 |
# |
| 4 |
# SPDX-License-Identifier: BSD-3-Clause |
| 5 |
# |
| 6 |
|
| 7 |
USE_TBBR_DEFS := 1 |
| 8 |
$(eval $(call add_define,USE_TBBR_DEFS)) |
| 9 |
|
| 10 |
ifeq (${USE_TBBR_DEFS},1) |
| 11 |
# In this case, cert_tool is platform-independent |
| 12 |
PLAT_MSG := TBBR Generic |
| 13 |
PLAT_INCLUDE := ../../include/tools_share |
| 14 |
else |
| 15 |
PLAT_MSG := ${PLAT} |
| 16 |
|
| 17 |
TF_PLATFORM_ROOT := ../../plat/ |
| 18 |
include ${MAKE_HELPERS_DIRECTORY}plat_helpers.mk |
| 19 |
|
| 20 |
PLAT_INCLUDE := $(wildcard ${PLAT_DIR}include) |
| 21 |
|
| 22 |
ifeq ($(PLAT_INCLUDE),) |
| 23 |
$(error "Error: Invalid platform '${PLAT}' has no include directory.") |
| 24 |
endif |
| 25 |
endif |
| 26 |
|
| 27 |
OBJECTS += src/tbbr/tbb_cert.o \ |
| 28 |
src/tbbr/tbb_ext.o \ |
| 29 |
src/tbbr/tbb_key.o |