summaryrefslogtreecommitdiff
path: root/tools/cert_create
diff options
context:
space:
mode:
authorManish V Badarkhe <Manish.Badarkhe@arm.com>2020-08-13 05:56:33 +0100
committerManish V Badarkhe <Manish.Badarkhe@arm.com>2020-08-23 05:41:13 +0100
commitfafd3ec9c954cbc5430dc24bdf5c46b97034c832 (patch)
tree2c8387aff4c2f7f1b7a2f5bd0873ed444e188d14 /tools/cert_create
parent8d0a3bb38d3c74e791d45f6cbfbd5da84d32194a (diff)
downloadarm-trusted-firmware-fafd3ec9c954cbc5430dc24bdf5c46b97034c832.tar.gz
tools: Get the tool's binary name from the main makefile
Currently, the tool's makefile override the tool's binary name which is already been defined in the main makefile. Hence fix is provided so that the tool's makefile get the tool's binary name from the main makefile instead of overriding it. Change-Id: I8af2bd391a96bba2dbcddef711338a94ebf5f038 Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
Diffstat (limited to 'tools/cert_create')
-rw-r--r--tools/cert_create/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/cert_create/Makefile b/tools/cert_create/Makefile
index 19f736f07..418e06cf3 100644
--- a/tools/cert_create/Makefile
+++ b/tools/cert_create/Makefile
@@ -4,11 +4,10 @@
# SPDX-License-Identifier: BSD-3-Clause
#
-PROJECT := cert_create
PLAT := none
V ?= 0
DEBUG := 0
-BINARY := ${PROJECT}${BIN_EXT}
+BINARY := $(notdir ${CRTTOOL})
OPENSSL_DIR := /usr
COT := tbbr