Don't build PORTS_MODULES if NO_MODULES is defined
This commit is contained in:
parent
a3d239bc29
commit
9f74b22210
@ -28,7 +28,7 @@ modules-${target}:
|
||||
.endfor
|
||||
|
||||
# Handle out of tree ports
|
||||
.if defined(PORTS_MODULES)
|
||||
.if !defined(NO_MODULES) && defined(PORTS_MODULES)
|
||||
.for _dir in ${.CURDIR}/../../..
|
||||
.if !defined(SYSDIR) && exists(${_dir}/kern/)
|
||||
SYSDIR= ${_dir}
|
||||
|
Loading…
Reference in New Issue
Block a user