[Bug 275741] sys/modules: Fix processing of WITHOUT_MODULES
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 275741] sys/modules: Fix processing of WITHOUT_MODULES"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 13 Dec 2023 22:21:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275741 Joshua Kinard <freebsd@kumba.dev> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #247024|0 |1 is obsolete| | --- Comment #2 from Joshua Kinard <freebsd@kumba.dev> --- Created attachment 247035 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=247035&action=edit Fix processing of WITHOUT_MODULES v2 This version of the patch fixes an accidental bug in the kmod.without.mk for loop where I was trying to be too clever and compare `basename CURDIR` against `dirname kmod` to try and limit accidental matches from being removed from SUBDIR. A.k.a., being overly-cautious and while that check works for a single subdirectory level (foo/bar), it fails if the kmod name in WITHOUT_MODULES has several subdirectory levels (foo/bar/baz). After adding better debugging and looking through the build log, the conditional simply isn't needed, so it is removed in this version. Also updated the date in the make.conf.5 man page. -- You are receiving this mail because: You are the assignee for the bug.