# Patch withdrawn by jhs@ # http://berklix.com/~jhs/src/bsd/fixes/freebsd/src/gen/sys/modules/Makefile.subdir_dud_modules.REL=ALL.diff # See Also: # http://berklix.com/~jhs/src/bsd/fixes/freebsd/src/gen/sys/modules/Makefile.subdir_dud_modules_test # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263758 # by jhs@berklix.com 2022-05-03 # Purpose: Fix for breaking src/sys/modules/ # https://lists.freebsd.org/archives/freebsd-stable/2022-April/000733.html # # # *** 12.3-STABLE/src/sys/modules/Makefile Sat Apr 30 00:05:16 2022 # --- new-generic/src/sys/modules/Makefile Tue May 3 14:54:23 2022 # *************** # *** 892,895 **** # --- 892,912 ---- # # SUBDIR:= ${SUBDIR:u:O} # # + # To skip broken modules, list them in /etc/src.conf with eg: # + # DUD_MODULES=random_fortuna random_other # + .if defined(DUD_MODULES) # + SUBDIR_DUD_TMP= # + SUBDIR != echo ${SUBDIR} | \ # + ( for s in `cat`; do \ # + SUBADD=$$s ; \ # + for d in ${DUD_MODULES} ; do \ # + if [ $$s == $$d ] ; \ # + then SUBADD="" ; \ # + fi; \ # + done ; \ # + SUBDIR_DUD_TMP="$${SUBDIR_DUD_TMP} $${SUBADD}" ; \ # + done ; \ # + echo "$${SUBDIR_DUD_TMP}" ) # + .endif # + # .include