aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/random
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2013-07-31 17:21:18 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2013-07-31 17:21:18 +0000
commit0e6a0799a927193235e48cc6f1262e5feb5e746c (patch)
tree0214e6338a2fb9904fb96b90f6c2f84d17e742a0 /sys/modules/random
parent969eca8b4a1dd61d695f415a0fbebf61cb6936d8 (diff)
downloadsrc-0e6a0799a927193235e48cc6f1262e5feb5e746c.tar.gz
src-0e6a0799a927193235e48cc6f1262e5feb5e746c.zip
Back out r253779 & r253786.
Notes
Notes: svn path=/head/; revision=253845
Diffstat (limited to 'sys/modules/random')
-rw-r--r--sys/modules/random/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/modules/random/Makefile b/sys/modules/random/Makefile
index a4882ba0a5cd..ad14899e7efc 100644
--- a/sys/modules/random/Makefile
+++ b/sys/modules/random/Makefile
@@ -1,9 +1,19 @@
# $FreeBSD$
.PATH: ${.CURDIR}/../../dev/random
+.PATH: ${.CURDIR}/../../crypto/rijndael
+.PATH: ${.CURDIR}/../../crypto/sha2
KMOD= random
SRCS= randomdev.c probe.c
-SRCS+= bus_if.h device_if.h opt_cpu.h
+.if ${MACHINE} == "amd64" || ${MACHINE} == "i386"
+SRCS+= nehemiah.c
+SRCS+= ivy.c
+.endif
+SRCS+= randomdev_soft.c yarrow.c hash.c
+SRCS+= rijndael-alg-fst.c rijndael-api-fst.c sha2.c
+SRCS+= bus_if.h device_if.h vnode_if.h opt_cpu.h
+
+CFLAGS+= -I${.CURDIR}/../..
.include <bsd.kmod.mk>