Set default value of USE_TBBR_DEFS
authorSoby Mathew <soby.mathew@arm.com>
Fri, 8 Sep 2017 09:54:12 +0000 (10:54 +0100)
committerSoby Mathew <soby.mathew@arm.com>
Mon, 11 Sep 2017 15:00:07 +0000 (16:00 +0100)
Using the OIDs defined in tbbr_oids.h is the recommended way to build
the cert_create tool. This patch hence sets default value of the build
flag USE_TBBR_DEFS to 1 in the Makefile in `tools/cert_create` folder
when cert_create is built from this folder.

Fixes ARM-software/tf-issues#482

Change-Id: Id1d224826b3417770bccbefa1b68d9bdb3b567f0
Signed-off-by: Soby Mathew <soby.mathew@arm.com>
tools/cert_create/Makefile

index eae76dfb17e6d643e8033913587e690527313b4b..437b692788bcd6367cb252bba5acb095465a29e7 100644 (file)
@@ -10,6 +10,7 @@ V             ?= 0
 DEBUG          := 0
 BINARY         := ${PROJECT}${BIN_EXT}
 OPENSSL_DIR    := /usr
+USE_TBBR_DEFS   := 1
 
 OBJECTS := src/cert.o \
            src/cmd_opt.o \