From 42a45b51aa9748c67654a9f7f4546b464856ca99 Mon Sep 17 00:00:00 2001 From: Evan Lloyd Date: Thu, 3 Dec 2015 11:35:40 +0000 Subject: Make:Allow for extension in tool names. In some build environments executable programs have a specific file extension. The value of BIN_EXT is appended to the relevant tool file names to allow for this. The value of BIN_EXT is set, where appropriate, by the build environment specific make helper (to .exe for Windows build environments). .gitignore is updated to hide the new (.exe) files. Change-Id: Icc32f64b750e425265075ad4e0dea18129640b86 --- tools/cert_create/Makefile | 2 +- tools/fip_create/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/cert_create/Makefile b/tools/cert_create/Makefile index 8218ab71..27545bae 100644 --- a/tools/cert_create/Makefile +++ b/tools/cert_create/Makefile @@ -32,7 +32,7 @@ PROJECT := cert_create PLAT := none V := 0 DEBUG := 0 -BINARY := ${PROJECT} +BINARY := ${PROJECT}${BIN_EXT} OPENSSL_DIR := /usr OBJECTS := src/cert.o \ diff --git a/tools/fip_create/Makefile b/tools/fip_create/Makefile index b12e0638..2e367c2f 100644 --- a/tools/fip_create/Makefile +++ b/tools/fip_create/Makefile @@ -32,7 +32,7 @@ MAKE_HELPERS_DIRECTORY := ../../make_helpers/ include ${MAKE_HELPERS_DIRECTORY}build_macros.mk include ${MAKE_HELPERS_DIRECTORY}build_env.mk -PROJECT := fip_create +PROJECT := fip_create${BIN_EXT} OBJECTS := fip_create.o COPIED_H_FILES := uuid.h firmware_image_package.h -- cgit