aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Grosbein <eugen@FreeBSD.org>2022-05-03 20:23:22 +0000
committerEugene Grosbein <eugen@FreeBSD.org>2022-05-03 20:28:49 +0000
commit487fcaf8e9b7b7faabdbcbf0293ed09d1de95889 (patch)
treea5499b8b7b890a647e98fcba8ff4c9f3ebd1d7fa
parentc0041515e0d11de76a9f66b1a6f398979ead2f30 (diff)
downloadsrc-487fcaf8e9b7b7faabdbcbf0293ed09d1de95889.tar.gz
src-487fcaf8e9b7b7faabdbcbf0293ed09d1de95889.zip
random_fortuna, random_other: unbreak standalone module build
This is direct commit to stable/12 as newer branches do not have the problem. PR: 263750 Reviewed by: emaste Tested by: Julian H. Stacey <jhs at berklix.com>
-rw-r--r--sys/modules/random_fortuna/Makefile2
-rw-r--r--sys/modules/random_other/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/modules/random_fortuna/Makefile b/sys/modules/random_fortuna/Makefile
index e1290eb32f46..ce88979eb7d0 100644
--- a/sys/modules/random_fortuna/Makefile
+++ b/sys/modules/random_fortuna/Makefile
@@ -6,6 +6,6 @@ KMOD = random_fortuna
SRCS = randomdev.c hash.c fortuna.c
SRCS += opt_param.h bus_if.h device_if.h
SRCS += opt_ddb.h
-CFLAGS += -DRANDOM_LOADABLE
+CFLAGS += -DDEV_RANDOM -DRANDOM_LOADABLE
.include <bsd.kmod.mk>
diff --git a/sys/modules/random_other/Makefile b/sys/modules/random_other/Makefile
index 14a0051efef8..1467b4e02918 100644
--- a/sys/modules/random_other/Makefile
+++ b/sys/modules/random_other/Makefile
@@ -6,6 +6,6 @@ KMOD = random_OTHER
SRCS = randomdev.c hash.c other_algorithm.c
SRCS += opt_param.h bus_if.h device_if.h
SRCS += opt_ddb.h
-CFLAGS += -DRANDOM_LOADABLE
+CFLAGS += -DDEV_RANDOM -DRANDOM_LOADABLE
.include <bsd.kmod.mk>