mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-30 08:14:15 +01:00
Fix "make -C tests/data_files -f ..."
The toplevel directory is actually just ../..: the makefile commands are executed in the subdirectory. $(PWD) earlier was wrong because it comes from the shell, not from make. Looking up $(MAKEFILE_LIST) is wrong because it indicates where the makefile is (make -f), not which directory to work in (make -C). Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
b8d0c2a7b6
commit
85e05d87b5
@ -14,7 +14,7 @@
|
|||||||
OPENSSL ?= openssl
|
OPENSSL ?= openssl
|
||||||
FAKETIME ?= faketime
|
FAKETIME ?= faketime
|
||||||
|
|
||||||
TOP_DIR = $(dir $(firstword $(MAKEFILE_LIST)))/../..
|
TOP_DIR = ../..
|
||||||
MBEDTLS_CERT_WRITE ?= $(TOP_DIR)/programs/x509/cert_write
|
MBEDTLS_CERT_WRITE ?= $(TOP_DIR)/programs/x509/cert_write
|
||||||
MBEDTLS_CERT_REQ ?= $(TOP_DIR)/programs/x509/cert_req
|
MBEDTLS_CERT_REQ ?= $(TOP_DIR)/programs/x509/cert_req
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user