Rewrite the lunabuild toolchain with enhanced feature (#60)
[lunaix-os.git] / lunaix-os / hal / char / uart / LBuild
index 1fbc933387f803a9ccb3887bc213da799f0c55b2..a25cf34735102ad91f37181c28d15f44c5aee6e4 100644 (file)
@@ -1,4 +1,12 @@
-sources([
-    "16550_base.c",
-    "16550_pmio.c"
-])
\ No newline at end of file
+src.c += (
+    "16x50_base.c",
+    "16x50_pmio.c",
+    "16x50_mmio.c",
+    "16x50_dev.c",
+)
+
+if config.xt_16x50:
+    src.c += "16x50_isa.c"
+
+if config.pci_16x50:
+    src.c += "16x50_pci.c"
\ No newline at end of file