diff options
author | Paul Selkirk <paul@psgd.org> | 2016-07-06 14:46:26 -0400 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2016-07-06 14:46:26 -0400 |
commit | 2864813c35d2ce295468775b6091bda9ef2245a1 (patch) | |
tree | 58799f4899317ab994d77535546e8a7d56c2dee0 /libraries/libhal/utils/Makefile | |
parent | 833802c921a53d1ee6a71049943edaebd1466d1b (diff) |
Simplify library Makefiles by using symbols defined in top-level Makefile, rather than re-deriving them.
Diffstat (limited to 'libraries/libhal/utils/Makefile')
-rw-r--r-- | libraries/libhal/utils/Makefile | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/libraries/libhal/utils/Makefile b/libraries/libhal/utils/Makefile index 43fbe0d..6f21c2f 100644 --- a/libraries/libhal/utils/Makefile +++ b/libraries/libhal/utils/Makefile @@ -1,10 +1,4 @@ -ifndef CRYPTECH_ROOT - CRYPTECH_ROOT := $(abspath ../../../../..) -endif +vpath %.c ${LIBHAL_SRC}/utils +vpath %.h ${LIBHAL_SRC}/utils -REPO := ${CRYPTECH_ROOT}/sw/libhal - -vpath %.c ${REPO}/utils -vpath %.h ${REPO}/utils - -include ${REPO}/utils/Makefile +include ${LIBHAL_SRC}/utils/Makefile |