Rewrite the lunabuild toolchain with enhanced feature (#60)
[lunaix-os.git] / lunaix-os / kernel / LBuild
index 8e92773e54fba9df8055ca8b172a14a8b0348151..31428ffb95dd7fec9ed59fcdc544fa5d28c484a9 100644 (file)
@@ -1,13 +1,6 @@
-use("block")
-use("debug")
-use("device")
-use("ds")
-use("exe")
-use("fs")
-use("mm")
-use("process")
+from . import block, debug, device, ds, exe, fs, mm, process
 
-sources([
+src.c += (
     "boot_helper.c",
     "kcmd.c",
     "kinit.c",
@@ -17,8 +10,9 @@ sources([
     "bcache.c",
     "syscall.c",
     "changeling.c",
+    "usrscope.c",
     "kprint/kp_records.c",
     "kprint/kprintf.c",
     "time/clock.c",
-    "time/timer.c",
-])
\ No newline at end of file
+    "time/timer.c"
+)
\ No newline at end of file