Commit b13e3f9f authored by Manish V Badarkhe's avatar Manish V Badarkhe
Browse files

tools: Set the tool's default binary name

This patch: fafd3ec9

 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: default avatarManish V Badarkhe <Manish.Badarkhe@arm.com>
parent 7ef3e0b3
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
PLAT := none PLAT := none
V ?= 0 V ?= 0
DEBUG := 0 DEBUG := 0
CRTTOOL ?= cert_create${BIN_EXT}
BINARY := $(notdir ${CRTTOOL}) BINARY := $(notdir ${CRTTOOL})
OPENSSL_DIR := /usr OPENSSL_DIR := /usr
COT := tbbr COT := tbbr
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
V ?= 0 V ?= 0
BUILD_INFO ?= 1 BUILD_INFO ?= 1
DEBUG := 0 DEBUG := 0
ENCTOOL ?= encrypt_fw${BIN_EXT}
BINARY := $(notdir ${ENCTOOL}) BINARY := $(notdir ${ENCTOOL})
OPENSSL_DIR := /usr OPENSSL_DIR := /usr
......
...@@ -8,6 +8,7 @@ MAKE_HELPERS_DIRECTORY := ../../make_helpers/ ...@@ -8,6 +8,7 @@ MAKE_HELPERS_DIRECTORY := ../../make_helpers/
include ${MAKE_HELPERS_DIRECTORY}build_macros.mk include ${MAKE_HELPERS_DIRECTORY}build_macros.mk
include ${MAKE_HELPERS_DIRECTORY}build_env.mk include ${MAKE_HELPERS_DIRECTORY}build_env.mk
FIPTOOL ?= fiptool${BIN_EXT}
PROJECT := $(notdir ${FIPTOOL}) PROJECT := $(notdir ${FIPTOOL})
OBJECTS := fiptool.o tbbr_config.o OBJECTS := fiptool.o tbbr_config.o
V ?= 0 V ?= 0
......
...@@ -8,6 +8,7 @@ MAKE_HELPERS_DIRECTORY := ../../make_helpers/ ...@@ -8,6 +8,7 @@ MAKE_HELPERS_DIRECTORY := ../../make_helpers/
include ${MAKE_HELPERS_DIRECTORY}build_macros.mk include ${MAKE_HELPERS_DIRECTORY}build_macros.mk
include ${MAKE_HELPERS_DIRECTORY}build_env.mk include ${MAKE_HELPERS_DIRECTORY}build_env.mk
SPTOOL ?= sptool${BIN_EXT}
PROJECT := $(notdir ${SPTOOL}) PROJECT := $(notdir ${SPTOOL})
OBJECTS := sptool.o OBJECTS := sptool.o
V ?= 0 V ?= 0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment