Fix build error by adding -fno-stack-protector to CFLAGS in usr/LBuild (#63)
[lunaix-os.git] / lunaix-os / hal / LBuild
index f4ae4c96a7f3abbe1ba403293fd4ee72440e2af4..d0475eef8bf70bf2092d04fa973fddc5d555e958 100644 (file)
@@ -1,11 +1,9 @@
-use("acpi")
-use("ahci")
-use("char")
-use("gfxa")
-use("rtc")
-use("term")
-use("timer")
-use("bus")
+from . import acpi, ahci, char, rtc, term, timer, bus
 
 
-if config("use_devicetree"):
-    sources("devtree.c")
\ No newline at end of file
+if config.use_devicetree:
+    from . import devtree
+
+if config.use_graphic_dev:
+    from . import gfxa
+
+src.c += "irq.c"
\ No newline at end of file