zfs: unbreak build broken in 160388166
This commit is contained in:
parent
6d2648bcab
commit
f20893853e
@ -1,7 +1,6 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
.PATH: ${SRCTOP}/sys/contrib/openzfs/lib/libspl
|
.PATH: ${SRCTOP}/sys/contrib/openzfs/lib/libspl
|
||||||
.PATH: ${SRCTOP}/sys/contrib/openzfs/lib/libspl/os/freebsd
|
|
||||||
.PATH: ${SRCTOP}/sys/contrib/openzfs/include
|
.PATH: ${SRCTOP}/sys/contrib/openzfs/include
|
||||||
|
|
||||||
|
|
||||||
@ -11,11 +10,13 @@ PACKAGE= runtime
|
|||||||
|
|
||||||
SRCS = \
|
SRCS = \
|
||||||
assert.c \
|
assert.c \
|
||||||
|
getexecname.c \
|
||||||
list.c \
|
list.c \
|
||||||
mkdirp.c \
|
mkdirp.c \
|
||||||
|
os/freebsd/getexecname.c \
|
||||||
|
os/freebsd/zone.c \
|
||||||
page.c \
|
page.c \
|
||||||
timestamp.c \
|
timestamp.c \
|
||||||
zone.c \
|
|
||||||
include/sys/list.h \
|
include/sys/list.h \
|
||||||
include/sys/list_impl.h
|
include/sys/list_impl.h
|
||||||
|
|
||||||
@ -23,24 +24,11 @@ SRCS = \
|
|||||||
# will not compile when building on macOS.
|
# will not compile when building on macOS.
|
||||||
.if !defined(BOOTSTRAPPING)
|
.if !defined(BOOTSTRAPPING)
|
||||||
SRCS += \
|
SRCS += \
|
||||||
getexecname.c \
|
atomic.c \
|
||||||
gethostid.c \
|
os/freebsd/gethostid.c \
|
||||||
getmntany.c \
|
os/freebsd/getmntany.c \
|
||||||
mnttab.c
|
os/freebsd/mnttab.c
|
||||||
|
|
||||||
|
|
||||||
.if ${MACHINE_ARCH} == "amd64"
|
|
||||||
.PATH: ${SRCTOP}/sys/contrib/openzfs/lib/libspl/asm-x86_64
|
|
||||||
SRCS += atomic.S
|
|
||||||
.elif ${MACHINE_ARCH} == "i386"
|
|
||||||
.PATH: ${SRCTOP}/sys/contrib/openzfs/lib/libspl/asm-i386
|
|
||||||
SRCS += atomic.S
|
|
||||||
.else
|
|
||||||
.PATH: ${SRCTOP}/sys/contrib/openzfs/lib/libspl/asm-generic
|
|
||||||
SRCS += atomic.c
|
|
||||||
.endif
|
.endif
|
||||||
.endif
|
|
||||||
|
|
||||||
|
|
||||||
WARNS?= 2
|
WARNS?= 2
|
||||||
CSTD= c99
|
CSTD= c99
|
||||||
@ -53,6 +41,6 @@ CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/module/icp/include
|
|||||||
CFLAGS+= -include ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h
|
CFLAGS+= -include ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h
|
||||||
CFLAGS+= -DHAVE_ISSETUGID
|
CFLAGS+= -DHAVE_ISSETUGID
|
||||||
CFLAGS+= -include ${SRCTOP}/sys/modules/zfs/zfs_config.h
|
CFLAGS+= -include ${SRCTOP}/sys/modules/zfs/zfs_config.h
|
||||||
CFLAGS.atomic.S+= -DLOCORE
|
CFLAGS.atomic.c+= -Wno-error-atomic-alignment
|
||||||
|
|
||||||
.include <bsd.lib.mk>
|
.include <bsd.lib.mk>
|
||||||
|
@ -7,11 +7,9 @@ LIB= uutil
|
|||||||
SRCS=\
|
SRCS=\
|
||||||
uu_alloc.c \
|
uu_alloc.c \
|
||||||
uu_avl.c \
|
uu_avl.c \
|
||||||
uu_dprintf.c \
|
|
||||||
uu_ident.c \
|
uu_ident.c \
|
||||||
uu_list.c \
|
uu_list.c \
|
||||||
uu_misc.c \
|
uu_misc.c \
|
||||||
uu_open.c \
|
|
||||||
uu_pname.c \
|
uu_pname.c \
|
||||||
uu_string.c
|
uu_string.c
|
||||||
|
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
.PATH: ${SRCTOP}/sys/contrib/openzfs/lib/libzfs
|
.PATH: ${SRCTOP}/sys/contrib/openzfs/lib/libzfs
|
||||||
.PATH: ${SRCTOP}/sys/contrib/openzfs/lib/libzfs/os/freebsd
|
.PATH: ${SRCTOP}/sys/contrib/openzfs/lib/libzfs/os/freebsd
|
||||||
.PATH: ${SRCTOP}/sys/contrib/openzfs/lib/libshare
|
.PATH: ${SRCTOP}/sys/contrib/openzfs/lib/libshare
|
||||||
.PATH: ${SRCTOP}/sys/contrib/openzfs/lib/libshare/os/freebsd
|
|
||||||
.PATH: ${SRCTOP}/sys/contrib/openzfs/include
|
.PATH: ${SRCTOP}/sys/contrib/openzfs/include
|
||||||
.PATH: ${SRCTOP}/sys/contrib/openzfs/module/zstd
|
.PATH: ${SRCTOP}/sys/contrib/openzfs/module/zstd
|
||||||
.PATH: ${SRCTOP}/sys/contrib/openzfs/module/zstd/lib
|
.PATH: ${SRCTOP}/sys/contrib/openzfs/module/zstd/lib
|
||||||
@ -53,8 +52,8 @@ USER_C += \
|
|||||||
USER_C += \
|
USER_C += \
|
||||||
libshare.c \
|
libshare.c \
|
||||||
nfs.c \
|
nfs.c \
|
||||||
smb.c
|
os/freebsd/nfs.c \
|
||||||
|
os/freebsd/smb.c
|
||||||
|
|
||||||
KERNEL_C = \
|
KERNEL_C = \
|
||||||
algs/sha2/sha2.c \
|
algs/sha2/sha2.c \
|
||||||
|
@ -8,7 +8,6 @@ SUBDIR= \
|
|||||||
ctfmerge \
|
ctfmerge \
|
||||||
${_zinject} \
|
${_zinject} \
|
||||||
${_zstream} \
|
${_zstream} \
|
||||||
${_zstreamdump} \
|
|
||||||
${_ztest}
|
${_ztest}
|
||||||
|
|
||||||
SUBDIR.${MK_TESTS}+= tests
|
SUBDIR.${MK_TESTS}+= tests
|
||||||
@ -17,7 +16,6 @@ SUBDIR.${MK_TESTS}+= tests
|
|||||||
_zinject= zinject
|
_zinject= zinject
|
||||||
_ztest= ztest
|
_ztest= ztest
|
||||||
_zstream = zstream
|
_zstream = zstream
|
||||||
_zstreamdump = zstreamdump
|
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
SUBDIR_PARALLEL=
|
SUBDIR_PARALLEL=
|
||||||
|
@ -7,6 +7,7 @@ ZFSTOP= ${SRCTOP}/sys/contrib/openzfs
|
|||||||
|
|
||||||
PROG= zstream
|
PROG= zstream
|
||||||
MAN= zstream.8
|
MAN= zstream.8
|
||||||
|
MLINKS= zstream.8 zstreamdump.8
|
||||||
INCS= zstream.h
|
INCS= zstream.h
|
||||||
SRCS= \
|
SRCS= \
|
||||||
zstream.c \
|
zstream.c \
|
||||||
@ -14,6 +15,8 @@ SRCS= \
|
|||||||
zstream_redup.c \
|
zstream_redup.c \
|
||||||
zstream_token.c
|
zstream_token.c
|
||||||
|
|
||||||
|
LINKS= ${BINDIR}/zstream ${BINDIR}/zstreamdump
|
||||||
|
|
||||||
WARNS?= 2
|
WARNS?= 2
|
||||||
CFLAGS+= \
|
CFLAGS+= \
|
||||||
-DIN_BASE \
|
-DIN_BASE \
|
||||||
|
@ -1,11 +0,0 @@
|
|||||||
# $FreeBSD$
|
|
||||||
|
|
||||||
ZFSTOP= ${SRCTOP}/sys/contrib/openzfs
|
|
||||||
|
|
||||||
.PATH: ${ZFSTOP}/cmd/zstreamdump
|
|
||||||
.PATH: ${ZFSTOP}/man/man8
|
|
||||||
|
|
||||||
SCRIPTS= zstreamdump
|
|
||||||
MAN= zstreamdump.8
|
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
|
@ -1,25 +0,0 @@
|
|||||||
# $FreeBSD$
|
|
||||||
# Autogenerated - do NOT edit!
|
|
||||||
|
|
||||||
DIRDEPS = \
|
|
||||||
cddl/lib/libavl \
|
|
||||||
cddl/lib/libnvpair \
|
|
||||||
cddl/lib/libumem \
|
|
||||||
cddl/lib/libzpool \
|
|
||||||
gnu/lib/csu \
|
|
||||||
include \
|
|
||||||
include/xlocale \
|
|
||||||
lib/${CSU_DIR} \
|
|
||||||
lib/libc \
|
|
||||||
lib/libcompiler_rt \
|
|
||||||
lib/libmd \
|
|
||||||
lib/libthr \
|
|
||||||
lib/libz \
|
|
||||||
lib/msun \
|
|
||||||
|
|
||||||
|
|
||||||
.include <dirdeps.mk>
|
|
||||||
|
|
||||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
|
||||||
# local dependencies - needed for -jN in clean tree
|
|
||||||
.endif
|
|
@ -58,6 +58,7 @@ CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include
|
|||||||
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include/os/freebsd
|
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include/os/freebsd
|
||||||
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include
|
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include
|
||||||
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/os/freebsd
|
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/os/freebsd
|
||||||
|
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libzfs
|
||||||
CFLAGS+= -I${SRCTOP}/sys
|
CFLAGS+= -I${SRCTOP}/sys
|
||||||
CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include
|
CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include
|
||||||
CFLAGS+= -include ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h
|
CFLAGS+= -include ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h
|
||||||
|
Loading…
Reference in New Issue
Block a user