Centralize definition of ZFSTOP

Define this helper variable in one place and make it available while
building the entire base system.

Reviewed by:	sjg
Obtained from:	CheriBSD (mostly)
Differential Revision:	https://reviews.freebsd.org/D53790
This commit is contained in:
John Baldwin 2025-11-24 10:46:56 -05:00
parent 8f94088bc5
commit 7980cf5d6f
13 changed files with 3 additions and 24 deletions

View file

@ -1,5 +1,3 @@
ZFSTOP= ${SRCTOP}/sys/contrib/openzfs
ATF_TESTS_C+= libtpool_test
TEST_METADATA+= timeout="10"

View file

@ -1,5 +1,3 @@
ZFSTOP= ${SRCTOP}/sys/contrib/openzfs
.PATH: ${ZFSTOP}/lib/libzpool
# ZFS_COMMON_SRCS

View file

@ -1,5 +1,3 @@
ZFSTOP= ${SRCTOP}/sys/contrib/openzfs
.PATH: ${ZFSTOP}/cmd/zfs
.PATH: ${ZFSTOP}/man/man7
.PATH: ${ZFSTOP}/man/man8

View file

@ -1,5 +1,3 @@
ZFSTOP= ${SRCTOP}/sys/contrib/openzfs
.PATH: ${ZFSTOP}/man/man4
.PATH: ${ZFSTOP}/man/man5
.PATH: ${ZFSTOP}/man/man7

View file

@ -1,5 +1,3 @@
ZFSTOP= ${SRCTOP}/sys/contrib/openzfs
.PATH: ${ZFSTOP}/cmd/zpool/compatibility.d
PACKAGE= zfs

View file

@ -1,5 +1,3 @@
ZFSTOP= ${SRCTOP}/sys/contrib/openzfs
.PATH: ${ZFSTOP}/cmd/zinject
.PATH: ${ZFSTOP}/man/man8

View file

@ -1,5 +1,3 @@
ZFSTOP= ${SRCTOP}/sys/contrib/openzfs
.PATH: ${ZFSTOP}/cmd/zstream
.PATH: ${ZFSTOP}/man/man8

View file

@ -1,7 +1,5 @@
.include <src.opts.mk>
ZFSTOP= ${SRCTOP}/sys/contrib/openzfs
.PATH: ${ZFSTOP}/cmd
.PATH: ${ZFSTOP}/man/man1

View file

@ -1,5 +1,3 @@
ZFSTOP= ${SRCTOP}/sys/contrib/openzfs
.PATH: ${ZFSTOP}/scripts
PACKAGE= zfs

View file

@ -1,5 +1,3 @@
ZFSTOP= ${SRCTOP}/sys/contrib/openzfs
.PATH: ${ZFSTOP}/cmd/zpool_influxdb
.PATH: ${ZFSTOP}/man/man8

View file

@ -1,5 +1,3 @@
ZFSTOP= ${SRCTOP}/sys/contrib/openzfs
.PATH: ${ZFSTOP}/cmd/zdb
.PATH: ${ZFSTOP}/man/man8

View file

@ -1,5 +1,3 @@
ZFSTOP= ${SRCTOP}/sys/contrib/openzfs
.PATH: ${ZFSTOP}/cmd
.PATH: ${ZFSTOP}/man/man1

View file

@ -48,6 +48,9 @@ CFLAGS+= -fmacro-prefix-map=${SRCTOP}=/usr/src -fdebug-prefix-map=${SRCTOP}=/usr
DEFAULTWARNS?= 6
# ZFS source directory
ZFSTOP?= ${SRCTOP}/sys/contrib/openzfs
# tempting, but bsd.compiler.mk causes problems this early
# probably need to remove dependence on bsd.own.mk
#.include "src.opts.mk"