zfstest: rename to zfsboottest and move to tools
Approved by: re (kib) MFC after: 1 week
This commit is contained in:
parent
07841942cc
commit
ff769d30aa
23
tools/tools/zfsboottest/Makefile
Normal file
23
tools/tools/zfsboottest/Makefile
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.PATH: ${.CURDIR}/../../../sys/boot/zfs ${.CURDIR}/../../../sys/cddl/boot/zfs
|
||||||
|
|
||||||
|
PROG= zfsboottest
|
||||||
|
NO_MAN=
|
||||||
|
|
||||||
|
CFLAGS= -O1 \
|
||||||
|
-I${.CURDIR}/../../../sys/boot/zfs \
|
||||||
|
-I${.CURDIR}/../../../sys/cddl/boot/zfs \
|
||||||
|
-I. \
|
||||||
|
-fdiagnostics-show-option \
|
||||||
|
-W -Wextra -Wno-sign-compare -Wno-unused-parameter \
|
||||||
|
-Werror
|
||||||
|
|
||||||
|
.if ${MACHINE_CPUARCH} == "amd64"
|
||||||
|
beforedepend zfsboottest.o: machine
|
||||||
|
CLEANFILES+= machine
|
||||||
|
machine:
|
||||||
|
ln -sf ${.CURDIR}/../../../sys/i386/include machine
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.include <bsd.prog.mk>
|
Loading…
x
Reference in New Issue
Block a user