Don't try to build LINT if there is no NOTES file.
This commit is contained in:
parent
aefdeea603
commit
7941c77b0a
@ -419,6 +419,10 @@ MAIN:{
|
||||
}
|
||||
|
||||
# Build LINT if requested
|
||||
if ($cmds{'lint'} && ! -f "$sandbox/src/sys/$machine/conf/NOTES") {
|
||||
logstage("no NOTES, skipping lint kernel");
|
||||
$cmds{'lint'} = 0;
|
||||
}
|
||||
if ($cmds{'lint'}) {
|
||||
logstage("building lint kernel");
|
||||
cd("$sandbox/src/sys/$machine/conf");
|
||||
|
Loading…
x
Reference in New Issue
Block a user