diff options
author | Simon J. Gerraty <sjg@FreeBSD.org> | 2023-05-23 16:02:00 +0000 |
---|---|---|
committer | Simon J. Gerraty <sjg@FreeBSD.org> | 2023-05-23 16:02:00 +0000 |
commit | 75e02c458a0def1ee8054646434c738b4004de8f (patch) | |
tree | 2e5d12d589de29128080c7ec46b45917d6f0ff23 /lib/libsecureboot/Makefile.inc | |
parent | 506321178137b9d78d81bd971671e7bb51c3ecf0 (diff) | |
download | src-75e02c458a0def1ee8054646434c738b4004de8f.tar.gz src-75e02c458a0def1ee8054646434c738b4004de8f.zip |
Diffstat (limited to 'lib/libsecureboot/Makefile.inc')
-rw-r--r-- | lib/libsecureboot/Makefile.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libsecureboot/Makefile.inc b/lib/libsecureboot/Makefile.inc index 921b5e7bc1d8..325eb5fb0d27 100644 --- a/lib/libsecureboot/Makefile.inc +++ b/lib/libsecureboot/Makefile.inc @@ -126,7 +126,11 @@ BUILD_UTC?= ${SOURCE_DATE_EPOCH} BUILD_UTC_FILE:= ${.PARSEDIR:tA}/${.PARSEFILE} .endif # you can of course set BUILD_UTC to any value you like -BUILD_UTC?= ${${STAT:Ustat} -f %m ${BUILD_UTC_FILE}:L:sh} +.if ${MAKE_VERSION} > 20230509 +BUILD_UTC?= ${BUILD_UTC_FILE:mtime} +.else +BUILD_UTC?= ${${STAT:Ustat} -L -f %m ${BUILD_UTC_FILE}:L:sh} +.endif # Generate ta.h containing one or more PEM encoded trust anchors in ta_PEM. # |