aboutsummaryrefslogtreecommitdiff
path: root/libhal/utils/Makefile
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-06-27 20:32:41 -0400
committerRob Austein <sra@hactrn.net>2016-06-27 20:32:41 -0400
commitf13948ea98afb9cb1e8ea0f7a15554621c1fe08a (patch)
tree3926b6cc5b2f1247f202dc117c75b136503b7e00 /libhal/utils/Makefile
parent3118c1384c46140269033ea63faa6ebca9a3af5a (diff)
Apparently sw/pkcs11 somehow missed the great ${foo_LIB} => ${foo_SRC}, ${foo_BLD} Makefile cleanup.
Diffstat (limited to 'libhal/utils/Makefile')
-rw-r--r--libhal/utils/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/libhal/utils/Makefile b/libhal/utils/Makefile
index b15a0c5..1b8b5a2 100644
--- a/libhal/utils/Makefile
+++ b/libhal/utils/Makefile
@@ -2,9 +2,13 @@ ifndef CRYPTECH_ROOT
CRYPTECH_ROOT := $(abspath ../../../..)
endif
-TFMDIR := $(abspath ../../libtfm)
+LIBHAL_SRC ?= ${CRYPTECH_ROOT}/sw/libhal
+LIBHAL_BLD ?= $(abspath ..)
-vpath %.c ${CRYPTECH_ROOT}/sw/libhal/utils
-vpath %.h ${CRYPTECH_ROOT}/sw/libhal/utils:${LIBTFM_DIR}
+LIBTFM_SRC ?= ${CRYPTECH_ROOT}/sw/thirdparty/libtfm
+LIBTFM_BLD ?= $(abspath ../../libtfm)
-include ${CRYPTECH_ROOT}/sw/libhal/utils/Makefile
+vpath %.c ${LIBHAL_SRC}/utils
+vpath %.h ${LIBHAL_SRC}/utils:${LIBTFM_BLD}
+
+include ${LIBHAL_SRC}/utils/Makefile