Rewrite the lunabuild toolchain with enhanced feature (#60)
[lunaix-os.git] / lunaix-os / kernel / LBuild
index 600b5128d8cb47d13a0619e20723617d558972f4..31428ffb95dd7fec9ed59fcdc544fa5d28c484a9 100644 (file)
@@ -1,20 +1,18 @@
-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",
     "lunad.c",
     "spike.c",
     "boot_helper.c",
     "kcmd.c",
     "kinit.c",
     "lunad.c",
     "spike.c",
+    "lrud.c",
+    "bcache.c",
+    "syscall.c",
+    "changeling.c",
+    "usrscope.c",
     "kprint/kp_records.c",
     "kprint/kprintf.c",
     "time/clock.c",
     "time/timer.c"
     "kprint/kp_records.c",
     "kprint/kprintf.c",
     "time/clock.c",
     "time/timer.c"
-])
\ No newline at end of file
+)
\ No newline at end of file