summaryrefslogtreecommitdiffstats
path: root/stand/zfs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'stand/zfs/Makefile')
-rw-r--r--stand/zfs/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/stand/zfs/Makefile b/stand/zfs/Makefile
new file mode 100644
index 0000000..e86c84b
--- /dev/null
+++ b/stand/zfs/Makefile
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+.include <bsd.init.mk>
+
+LIB= zfsboot
+INTERNALLIB=
+
+.PATH: ${ZFSSRC}
+SRCS+= zfs.c skein.c skein_block.c
+# Do not unroll skein loops, reduce code size
+CFLAGS+= -DSKEIN_LOOP=111
+.PATH: ${SYSDIR}/crypto/skein
+
+CFLAGS+= -DBOOTPROG=\"zfsloader\"
+CFLAGS+= -I${LDRSRC}
+CFLAGS+= -I${SYSDIR}/cddl/boot/zfs
+CFLAGS+= -I${SYSDIR}/crypto/skein
+
+CFLAGS+= -Wformat -Wall
+
+.include <bsd.stand.mk>
+.include <bsd.lib.mk>
OpenPOWER on IntegriCloud