mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 10:35:40 +01:00
Fix "make -C tests/data_files"
It wasn't working when invoking programs/x509/cert_write or programs/x509/cert_req due to relying on the current directory rather than the location of the makefile. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
c3d0a7f1ec
commit
6b739bb138
@ -13,8 +13,10 @@
|
|||||||
## Tools
|
## Tools
|
||||||
OPENSSL ?= openssl
|
OPENSSL ?= openssl
|
||||||
FAKETIME ?= faketime
|
FAKETIME ?= faketime
|
||||||
MBEDTLS_CERT_WRITE ?= $(PWD)/../../programs/x509/cert_write
|
|
||||||
MBEDTLS_CERT_REQ ?= $(PWD)/../../programs/x509/cert_req
|
TOP_DIR = $(dir $(firstword $(MAKEFILE_LIST)))/../..
|
||||||
|
MBEDTLS_CERT_WRITE ?= $(TOP_DIR)/programs/x509/cert_write
|
||||||
|
MBEDTLS_CERT_REQ ?= $(TOP_DIR)/programs/x509/cert_req
|
||||||
|
|
||||||
## Build the generated test data. Note that since the final outputs
|
## Build the generated test data. Note that since the final outputs
|
||||||
## are committed to the repository, this target should do nothing on a
|
## are committed to the repository, this target should do nothing on a
|
||||||
|
Loading…
Reference in New Issue
Block a user