Use an indirect reference to detect the 3rdparty directory

This commit is contained in:
Gilles Peskine 2020-03-09 17:29:41 +01:00
parent 37940d923e
commit 18a9d5b425

View file

@ -1,5 +1,2 @@
ifeq ($(INCLUDING_FROM_MBEDTLS), 1)
include ../crypto/3rdparty/everest/Makefile.inc
else
include ../3rdparty/everest/Makefile.inc
endif
THIRDPARTY_DIR = $(dir $(lastword $(MAKEFILE_LIST)))
include $(THIRDPARTY_DIR)/everest/Makefile.inc