aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/Makefile
diff options
context:
space:
mode:
authorAlan Somers <asomers@FreeBSD.org>2026-05-24 00:19:13 +0000
committerAlan Somers <asomers@FreeBSD.org>2026-05-26 21:43:57 +0000
commit14b8531c4ccb836d755ce8a4f1b384164b5d9d94 (patch)
treee2f14d1c6c8a363198733185888d12b196e0c260 /sys/modules/Makefile
parent3525c619abdb646601e74194a6e15e8407a677da (diff)
padlock: Restore padlock_rng to the amd64 build
Revert 88a53301e19 and d1ca01059d5 . They removed padlock_rng from the amd64 build under the mistaken belief that this device was available on 32-bit processors only. But it's also available on the 64-bit Via Nano, Nano X2, and some Zhaoxin CPUs. PR: 295517 Fixes: 88a53301e19 ("padlock.4: only install on i386") Fixes: d1ca01059d5 ("padlock(4)/nehemiah: move i386-only entropy") MFC after: 1 week Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D57215
Diffstat (limited to 'sys/modules/Makefile')
-rw-r--r--sys/modules/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index faedb856977c..f21f22c174cd 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -838,6 +838,7 @@ _nfe= nfe
_nvram= nvram
.if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
_padlock= padlock
+_padlock_rng= padlock_rng
_rdrand_rng= rdrand_rng
_rdseed_rng= rdseed_rng
.endif
@@ -911,9 +912,6 @@ _glxsb= glxsb
_pcfclock= pcfclock
_pst= pst
_sbni= sbni
-.if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
-_padlock_rng= padlock_rng
-.endif
.endif
.if ${MACHINE_ARCH} == "armv7"