git: a85dcd4ac4b0 - main - netlink: restrict default userland switch to netlink to i386/amd64.
Date: Sun, 26 Mar 2023 11:07:29 UTC
The branch main has been updated by melifaro: URL: https://cgit.FreeBSD.org/src/commit/?id=a85dcd4ac4b0612b63b5a71eeaaa707a09ae0003 commit a85dcd4ac4b0612b63b5a71eeaaa707a09ae0003 Author: Alexander V. Chernikov <melifaro@FreeBSD.org> AuthorDate: 2023-03-26 11:05:21 +0000 Commit: Alexander V. Chernikov <melifaro@FreeBSD.org> CommitDate: 2023-03-26 11:06:53 +0000 netlink: restrict default userland switch to netlink to i386/amd64. --- share/mk/src.opts.mk | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk index 7c73e66aba18..c0491d6e8769 100644 --- a/share/mk/src.opts.mk +++ b/share/mk/src.opts.mk @@ -145,7 +145,6 @@ __DEFAULT_YES_OPTIONS = \ MLX5TOOL \ NETCAT \ NETGRAPH \ - NETLINK \ NLS_CATALOGS \ NS_CACHING \ NTP \ @@ -234,7 +233,6 @@ __DEFAULT_DEPENDENT_OPTIONS= \ KERBEROS \ KVM \ NETGRAPH \ - NETLINK \ PAM \ TESTS \ WIRELESS @@ -359,6 +357,14 @@ __DEFAULT_NO_OPTIONS+=OPENMP BROKEN_OPTIONS+= OFED .endif +.if ${__T} == "i386" || ${__T} == "amd64" +__DEFAULT_YES_OPTIONS+=NETLINK +__DEFAULT_YES_OPTIONS+=NETLINK_SUPPORT +.else +__DEFAULT_NO_OPTIONS+=NETLINK +__DEFAULT_NO_OPTIONS+=NETLINK_SUPPORT +.endif + .include <bsd.mkopt.mk> #