Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jan 2019 23:36:03 +0000 (UTC)
From:      Brooks Davis <brooks@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r343594 - stable/12
Message-ID:  <201901302336.x0UNa3Tv053781@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brooks
Date: Wed Jan 30 23:36:02 2019
New Revision: 343594
URL: https://svnweb.freebsd.org/changeset/base/343594

Log:
  MFC r340242:
  
  Add a top-level make target to rebuild all sysent files.
  
  The sysent target is useful when changing makesyscalls.sh, when
  making paired changes to syscalls.master files, or in a future where
  freebsd32 sysent entries are built from the default syscalls.master.
  
  Reviewed by:	bdrewery
  Obtained from:	CheriBSD
  Sponsored by:	DARPA, AFRL
  Differential Revision:	https://reviews.freebsd.org/D17899

Modified:
  stable/12/Makefile
  stable/12/Makefile.inc1
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/Makefile
==============================================================================
--- stable/12/Makefile	Wed Jan 30 21:46:12 2019	(r343593)
+++ stable/12/Makefile	Wed Jan 30 23:36:02 2019	(r343594)
@@ -33,6 +33,7 @@
 # targets             - Print a list of supported TARGET/TARGET_ARCH pairs
 #                       for world and kernel targets.
 # toolchains          - Build a toolchain for all world and kernel targets.
+# sysent              - (Re)build syscall entries from syscalls.master.
 # xdev                - xdev-build + xdev-install for the architecture
 #                       specified with TARGET and TARGET_ARCH.
 # xdev-build          - Build cross-development tools.
@@ -136,6 +137,7 @@ TGTS=	all all-man buildenv buildenvvars buildkernel bu
 	reinstallkernel reinstallkernel.debug \
 	installworld kernel-toolchain libraries maninstall \
 	obj objlink showconfig tags toolchain update \
+	sysent \
 	_worldtmp _legacy _bootstrap-tools _cleanobj _obj \
 	_build-tools _build-metadata _cross-tools _includes _libraries \
 	build32 distribute32 install32 buildsoft distributesoft installsoft \

Modified: stable/12/Makefile.inc1
==============================================================================
--- stable/12/Makefile.inc1	Wed Jan 30 21:46:12 2019	(r343593)
+++ stable/12/Makefile.inc1	Wed Jan 30 23:36:02 2019	(r343594)
@@ -1415,6 +1415,18 @@ packageworld: .PHONY
 . endif
 .endfor
 
+_sysent_dirs=	sys/kern
+_sysent_dirs+=	sys/compat/freebsd32
+_sysent_dirs+=	sys/i386/ibcs2
+_sysent_dirs+=	sys/amd64/linux		\
+		sys/amd64/linux32	\
+		sys/arm64/linux		\
+		sys/i386/linux
+sysent: .PHONY
+.for _dir in ${_sysent_dirs}
+	${_+_}${MAKE} -C ${.CURDIR}/${_dir} sysent
+.endfor
+
 #
 # reinstall
 #



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901302336.x0UNa3Tv053781>