]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix LOCAL_MODULES and improve the make output.
authorjhb <jhb@FreeBSD.org>
Tue, 6 Aug 2019 23:22:25 +0000 (23:22 +0000)
committerjhb <jhb@FreeBSD.org>
Tue, 6 Aug 2019 23:22:25 +0000 (23:22 +0000)
commit706b335033437f96b670364cf7064065fc858ac3
tree568ca7b44699eee36c6668ced4af10ee7b3a9be3
parent936304b05cd00db44a24bf3ded0a26b04dffd49a
Fix LOCAL_MODULES and improve the make output.

The exists() check guarding the invocation of ls was not working
correctly as it was expanding '$L' to determine the path of the local
modules directory.  Fix by using {} around the variable name.

Inline some of the logic from bsd.subdir.mk when invoking local module
builds.  This gives output in 'make buildkernel' the same as if there
was a Makefile in /usr/local/sys/modules with SUBDIR =
${LOCAL_MODULES}.

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D20991
sys/conf/kern.post.mk