aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/Makefile
diff options
context:
space:
mode:
authorAlan Somers <asomers@FreeBSD.org>2026-05-24 00:19:13 +0000
committerColin Percival <cperciva@FreeBSD.org>2026-05-28 22:15:46 +0000
commit191573ce0bfd44189ef6f34f22108e59da1cc65a (patch)
treed57f20d9c3bd41e1f3d114d6efba13381e6f4c54 /sys/modules/Makefile
parent54b4041a72205d85f6b02c7b3acab7a6af6b380e (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. Approved by: re (cperciva) PR: 295517 Fixes: 88a53301e19 ("padlock.4: only install on i386") Fixes: d1ca01059d5 ("padlock(4)/nehemiah: move i386-only entropy") Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D57215 (cherry picked from commit 14b8531c4ccb836d755ce8a4f1b384164b5d9d94) (cherry picked from commit 71ec93ff69f0b724a1c51e9fa772b08a10506112)
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 a3b0cda92feb..abb2668f4ae2 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -830,6 +830,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
@@ -903,9 +904,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"