Fix build error by adding -fno-stack-protector to CFLAGS in usr/LBuild (#63)
[lunaix-os.git] / lunaix-os / kernel / fs / LConfig
index 37a9695aee4ac491dacb6ca263a01f4e1c92697c..dfa8fe4df79c90efe9fa4b709e88e07d6171ca82 100644 (file)
@@ -1,21 +1,18 @@
+from . import ext2
 
-@Collection
+@"File Systems"
+@(parent := kernel_feature)
 def file_system():
     """ Config feature related to file system supports """
 
-    add_to_collection(kernel_feature)
-
-    @Term
-    def fs_ext2():
+    @"ext2 support"
+    def fs_ext2() -> bool:
         """ Enable ext2 file system support """
 
-        type(bool)
-        default(True)
+        return True
     
-    @Term
-    def fs_iso9660():
+    @"iso9660 support"
+    def fs_iso9660() -> bool:
         """ Enable iso9660 file system support """
 
-        type(bool)
-        default(True)
-
+        return True