summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/Makefile5
-rw-r--r--sys/modules/random/Makefile12
2 files changed, 6 insertions, 11 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index d26dacc..063aa04 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -254,6 +254,7 @@ SUBDIR= \
${_opensolaris} \
oce \
${_padlock} \
+ ${_padlock_rng} \
patm \
${_pccard} \
${_pcfclock} \
@@ -280,6 +281,7 @@ SUBDIR= \
${_random} \
rc4 \
${_rdma} \
+ ${_rdrand_rng} \
re \
reiserfs \
rl \
@@ -364,11 +366,14 @@ SUBDIR= \
${_x86bios} \
${_xe} \
xl \
+ yarrow_rng \
${_zfs} \
zlib \
.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
_filemon= filemon
+_padlock_rng= padlock_rng
+_rdrand_rng= rdrand_rng
.endif
.if ${MACHINE_CPUARCH} != "powerpc" && ${MACHINE_CPUARCH} != "arm" && \
diff --git a/sys/modules/random/Makefile b/sys/modules/random/Makefile
index ad14899..a4882ba 100644
--- a/sys/modules/random/Makefile
+++ b/sys/modules/random/Makefile
@@ -1,19 +1,9 @@
# $FreeBSD$
.PATH: ${.CURDIR}/../../dev/random
-.PATH: ${.CURDIR}/../../crypto/rijndael
-.PATH: ${.CURDIR}/../../crypto/sha2
KMOD= random
SRCS= randomdev.c probe.c
-.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}/../..
+SRCS+= bus_if.h device_if.h opt_cpu.h
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud