debug guard for build info
This commit is contained in:
parent
f95c262c57
commit
37eab6f8e2
@ -1,11 +1,13 @@
|
|||||||
package kernel;
|
package kernel;
|
||||||
|
|
||||||
|
#if debug
|
||||||
|
import lib.Debug;
|
||||||
|
#end
|
||||||
import kernel.service.ServiceManager;
|
import kernel.service.ServiceManager;
|
||||||
import kernel.fs.FS;
|
import kernel.fs.FS;
|
||||||
import kernel.gps.GPS;
|
import kernel.gps.GPS;
|
||||||
import kernel.log.Log;
|
import kernel.log.Log;
|
||||||
import kernel.net.Routing;
|
import kernel.net.Routing;
|
||||||
import lib.Debug;
|
|
||||||
import kernel.ui.WindowManager;
|
import kernel.ui.WindowManager;
|
||||||
import kernel.net.Net;
|
import kernel.net.Net;
|
||||||
|
|
||||||
@ -29,7 +31,9 @@ class Init {
|
|||||||
KernelEvents.shutdown();
|
KernelEvents.shutdown();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
#if debug
|
||||||
Debug.printBuildInfo();
|
Debug.printBuildInfo();
|
||||||
|
#end
|
||||||
|
|
||||||
if (!FS.exists("/var/ns")) {
|
if (!FS.exists("/var/ns")) {
|
||||||
FS.makeDir("/var/ns");
|
FS.makeDir("/var/ns");
|
||||||
|
Loading…
Reference in New Issue
Block a user