Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jan 2018 15:42:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 223180] Bug in kmod.mk when SRCS is empty/not defined
Message-ID:  <bug-223180-8-T5oNnuLwNw@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-223180-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-223180-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223180

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

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


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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223180-8-T5oNnuLwNw>