summaryrefslogtreecommitdiffstats
path: root/sys/boot/geli
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-08-08 05:19:45 +0000
committerngie <ngie@FreeBSD.org>2017-08-08 05:19:45 +0000
commit29c6f911625ba82a5427e7542faf08f3dcd2f569 (patch)
tree626e3e7adc1fd2baf600da2e6caa90c8b3ee6d0c /sys/boot/geli
parentda163401e78017eed437570f90b00974bdd71d41 (diff)
downloadFreeBSD-src-29c6f911625ba82a5427e7542faf08f3dcd2f569.zip
FreeBSD-src-29c6f911625ba82a5427e7542faf08f3dcd2f569.tar.gz
MFC r321851:
Standardize paths on SRCTOP instead of .CURDIR-relative paths
Diffstat (limited to 'sys/boot/geli')
-rw-r--r--sys/boot/geli/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/boot/geli/Makefile b/sys/boot/geli/Makefile
index f5ab243..3c2221e 100644
--- a/sys/boot/geli/Makefile
+++ b/sys/boot/geli/Makefile
@@ -28,23 +28,23 @@ SRCS+= bcmp.c bcopy.c bzero.c
SRCS+= pwgets.c
# sha256 and sha512 from sys/crypto
-.PATH: ${.CURDIR}/../../crypto/sha2
+.PATH: ${SRCTOP}/sys/crypto/sha2
CFLAGS+= -DWEAK_REFS
SRCS+= sha256c.c sha512c.c
# md5 from libmd
-.PATH: ${.CURDIR}/../../../lib/libmd
+.PATH: ${SRCTOP}/lib/libmd
SRCS+= md5c.c
# AES implementation from sys/crypto
-.PATH: ${.CURDIR}/../../crypto/rijndael
+.PATH: ${SRCTOP}/sys/crypto/rijndael
CFLAGS+= -I${.CURDIR}/../../
# Remove asserts
CFLAGS+= -DNDEBUG
SRCS+= rijndael-alg-fst.c rijndael-api-fst.c rijndael-api.c
# local GELI Implementation
-.PATH: ${.CURDIR}/../../geom/eli
+.PATH: ${SRCTOP}/sys/geom/eli
CFLAGS+= -D_STAND
SRCS+= geliboot_crypto.c g_eli_hmac.c g_eli_key.c g_eli_key_cache.c pkcs5v2.c
OpenPOWER on IntegriCloud