If asked to build a kernel without first building world, build the
kernel toolchain first.
This commit is contained in:
parent
0f126ea09f
commit
08e6faa278
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=129257
@ -539,12 +539,17 @@ MAIN:{
|
||||
}
|
||||
}
|
||||
|
||||
# Build the world
|
||||
# Build the world, or at least the kernel toolchain
|
||||
if ($cmds{'world'}) {
|
||||
logstage("building world (CFLAGS=$ENV{'CFLAGS'})");
|
||||
cd("$sandbox/src");
|
||||
make('buildworld')
|
||||
or error("failed to build world");
|
||||
} elsif ($cmds{'generic'} || $cmds{'lint'}) {
|
||||
logstage("building kernel toolchain (CFLAGS=$ENV{'CFLAGS'})");
|
||||
cd("$sandbox/src");
|
||||
make('kernel-toolchain')
|
||||
or error("failed to build kernel toolchain");
|
||||
}
|
||||
|
||||
# Build GENERIC if requested
|
||||
|
Loading…
Reference in New Issue
Block a user