[Bug 223180] Bug in kmod.mk when SRCS is empty/not defined

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jan 31 15:42:14 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223180

--- Comment #1 from Johannes Lundberg <johalun0 at gmail.com> ---
It should of course be

.for _o in ${SRCS:N*.h}
OBJS+=${_o:R:S/$/.o/g}
.endfor


The previous suggestion breaks buildkernel (and maybe even buildworld).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list