From 37eab6f8e2b093bc919a2149ac1f79a9a3eceb9d Mon Sep 17 00:00:00 2001 From: Niklas Kapelle Date: Mon, 5 Aug 2024 13:53:33 +0200 Subject: [PATCH] debug guard for build info --- src/kernel/Init.hx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/kernel/Init.hx b/src/kernel/Init.hx index 91675f6..3024417 100644 --- a/src/kernel/Init.hx +++ b/src/kernel/Init.hx @@ -1,11 +1,13 @@ package kernel; +#if debug +import lib.Debug; +#end import kernel.service.ServiceManager; import kernel.fs.FS; import kernel.gps.GPS; import kernel.log.Log; import kernel.net.Routing; -import lib.Debug; import kernel.ui.WindowManager; import kernel.net.Net; @@ -29,7 +31,9 @@ class Init { KernelEvents.shutdown(); }); + #if debug Debug.printBuildInfo(); + #end if (!FS.exists("/var/ns")) { FS.makeDir("/var/ns");