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"). RunOncePath("0:/lib/boot").
parameter debug is false.
Bootstrap( Bootstrap(
"/boot/satellite", "/boot/satellite",
"", "",

View File

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