Make boot scripts work for satellite.

This commit is contained in:
Anna Rose 2021-08-21 01:06:35 -04:00
parent 18f7e996a7
commit d659889b82
2 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,7 @@
RunOncePath("0:/lib/boot").
parameter debug is false.
Bootstrap(
"/boot/satellite",
"",

View File

@ -4,13 +4,17 @@ function Bootstrap {
// create a list of libraries that we need to compile
local libs is UniqueSet().
if init <> "" {
addLibs(libs, init).
}
for program in programs {
addLibs(libs, program).
}
// compile the main program files
if init <> "" {
compileFile(init, "/init", debug).
}
for program in programs {
compileFile(program, program:Replace("/prog", ""), debug).
}