Rewrite the lunabuild toolchain with enhanced feature (#60)
[lunaix-os.git] / lunaix-os / hal / bus / LBuild
index a485ce79f8c17d2c81af2d0c5df7b7ccebd2ffaf..3e280aa731aa2bd607e65b2fc3fcc839c9fe8917 100644 (file)
@@ -1,3 +1,3 @@
-sources([
-    "pci.c"
-])
\ No newline at end of file
+
+if config.pci_enable:
+    src.c += "pci.c"
\ No newline at end of file