Make boot scripts work for satellite.
This commit is contained in:
parent
18f7e996a7
commit
d659889b82
|
@ -1,5 +1,7 @@
|
||||||
RunOncePath("0:/lib/boot").
|
RunOncePath("0:/lib/boot").
|
||||||
|
|
||||||
|
parameter debug is false.
|
||||||
|
|
||||||
Bootstrap(
|
Bootstrap(
|
||||||
"/boot/satellite",
|
"/boot/satellite",
|
||||||
"",
|
"",
|
||||||
|
|
|
@ -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().
|
||||||
addLibs(libs, init).
|
if 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
|
||||||
compileFile(init, "/init", debug).
|
if init <> "" {
|
||||||
|
compileFile(init, "/init", debug).
|
||||||
|
}
|
||||||
for program in programs {
|
for program in programs {
|
||||||
compileFile(program, program:Replace("/prog", ""), debug).
|
compileFile(program, program:Replace("/prog", ""), debug).
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user