Date: Mon, 3 Feb 2025 16:29:26 GMT From: Zhenlei Huang <zlei@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 29f77be0d844 - stable/13 - ng_sppp: Build only on i386 and amd64 Message-ID: <202502031629.513GTQZ2094364@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=29f77be0d844aa7e9b26fed8b550e12ad504b4d2 commit 29f77be0d844aa7e9b26fed8b550e12ad504b4d2 Author: Zhenlei Huang <zlei@FreeBSD.org> AuthorDate: 2025-02-03 16:28:37 +0000 Commit: Zhenlei Huang <zlei@FreeBSD.org> CommitDate: 2025-02-03 16:28:37 +0000 ng_sppp: Build only on i386 and amd64 This module depends on sppp(4) which is only enabled on i386 and amd64. This is a direct commit to stable/13 as ng_sppp(4) no longer exists in -current and stable/14. --- share/man/man4/Makefile | 3 ++- sys/modules/netgraph/Makefile | 6 +++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile index 7de8ebb0e1ac..8802e5fc35d6 100644 --- a/share/man/man4/Makefile +++ b/share/man/man4/Makefile @@ -393,7 +393,7 @@ MAN= aac.4 \ ng_socket.4 \ ng_source.4 \ ng_split.4 \ - ng_sppp.4 \ + ${_ng_sppp.4} \ ng_sscfu.4 \ ng_sscop.4 \ ng_tag.4 \ @@ -857,6 +857,7 @@ _nda.4= nda.4 _ndis.4= ndis.4 _nfe.4= nfe.4 _nfsmb.4= nfsmb.4 +_ng_sppp.4= ng_sppp.4 _if_ntb.4= if_ntb.4 _ntb.4= ntb.4 _ntb_hw_amd.4= ntb_hw_amd.4 diff --git a/sys/modules/netgraph/Makefile b/sys/modules/netgraph/Makefile index 05a3d9978748..137b90ddc3be 100644 --- a/sys/modules/netgraph/Makefile +++ b/sys/modules/netgraph/Makefile @@ -46,7 +46,7 @@ SUBDIR= async \ socket \ source \ split \ - sppp \ + ${_sppp} \ tag \ tcpmss \ tee \ @@ -64,4 +64,8 @@ _bluetooth= bluetooth _mppc= mppc .endif +.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" +_sppp= sppp +.endif + .include <bsd.subdir.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202502031629.513GTQZ2094364>