mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-18 05:53:36 +01:00
92ef98b8fa
An upcoming OpenSSH update has multiple config.h settings that change depending on whether builtin security key support is enabled. Prepare for this by moving ENABLE_SK_INTERNAL to a new sk_config.h header (similar to the approach used for optional krb5 support) and optionally including that, instead of defining the macro directly from CFLAGS. Reviewed by: kevans MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D34407
14 lines
258 B
Makefile
14 lines
258 B
Makefile
# Common Make variables for OpenSSH
|
|
|
|
.include <src.opts.mk>
|
|
|
|
SSHDIR= ${SRCTOP}/crypto/openssh
|
|
|
|
CFLAGS+= -I${SSHDIR} -include ssh_namespace.h
|
|
SRCS+= ssh_namespace.h
|
|
|
|
.if ${MK_USB} != "no"
|
|
# Built-in security key support
|
|
CFLAGS+= -include sk_config.h
|
|
.endif
|