diff options
author | Manish V Badarkhe <Manish.Badarkhe@arm.com> | 2020-09-05 04:40:41 +0100 |
---|---|---|
committer | Manish V Badarkhe <Manish.Badarkhe@arm.com> | 2020-09-07 12:58:24 +0100 |
commit | b13e3f9f98d08b8583db64d62acd947e727a1a4d (patch) | |
tree | 2701e24ef75accf3ec699842fdbd71b48d8375ac | |
parent | 7ef3e0b31baa6a718e0e99d96e65b82c27a08f0b (diff) | |
download | trusted-firmware-a-b13e3f9f98d08b8583db64d62acd947e727a1a4d.tar.gz |
tools: Set the tool's default binary name
This patch: fafd3ec9c assumes that tools must build from
the main makefile folder.
This assumption leads to the error when somebody wants to
build a tool from the tool's folder.
Hence changes are done to provide the default binary name
in the tool's makefile.
Change-Id: Iae570a7f8d322151376b6feb19e739300eecc3fc
Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
-rw-r--r-- | tools/cert_create/Makefile | 1 | ||||
-rw-r--r-- | tools/encrypt_fw/Makefile | 1 | ||||
-rw-r--r-- | tools/fiptool/Makefile | 1 | ||||
-rw-r--r-- | tools/sptool/Makefile | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/tools/cert_create/Makefile b/tools/cert_create/Makefile index 418e06cf32..0ec08b0540 100644 --- a/tools/cert_create/Makefile +++ b/tools/cert_create/Makefile @@ -7,6 +7,7 @@ PLAT := none V ?= 0 DEBUG := 0 +CRTTOOL ?= cert_create${BIN_EXT} BINARY := $(notdir ${CRTTOOL}) OPENSSL_DIR := /usr COT := tbbr diff --git a/tools/encrypt_fw/Makefile b/tools/encrypt_fw/Makefile index ebbc66a8eb..6eb6fae7a8 100644 --- a/tools/encrypt_fw/Makefile +++ b/tools/encrypt_fw/Makefile @@ -7,6 +7,7 @@ V ?= 0 BUILD_INFO ?= 1 DEBUG := 0 +ENCTOOL ?= encrypt_fw${BIN_EXT} BINARY := $(notdir ${ENCTOOL}) OPENSSL_DIR := /usr diff --git a/tools/fiptool/Makefile b/tools/fiptool/Makefile index 0ede6cebb3..df8ab5c7be 100644 --- a/tools/fiptool/Makefile +++ b/tools/fiptool/Makefile @@ -8,6 +8,7 @@ MAKE_HELPERS_DIRECTORY := ../../make_helpers/ include ${MAKE_HELPERS_DIRECTORY}build_macros.mk include ${MAKE_HELPERS_DIRECTORY}build_env.mk +FIPTOOL ?= fiptool${BIN_EXT} PROJECT := $(notdir ${FIPTOOL}) OBJECTS := fiptool.o tbbr_config.o V ?= 0 diff --git a/tools/sptool/Makefile b/tools/sptool/Makefile index f724c265a2..1fa85fb202 100644 --- a/tools/sptool/Makefile +++ b/tools/sptool/Makefile @@ -8,6 +8,7 @@ MAKE_HELPERS_DIRECTORY := ../../make_helpers/ include ${MAKE_HELPERS_DIRECTORY}build_macros.mk include ${MAKE_HELPERS_DIRECTORY}build_env.mk +SPTOOL ?= sptool${BIN_EXT} PROJECT := $(notdir ${SPTOOL}) OBJECTS := sptool.o V ?= 0 |