migrate stock user space build to new build system
[lunaix-os.git] / lunaix-os / hal / LConfig
index 26f53b8815862704ee5aa5b504173128f0af331d..5b6a86f72b52c7bcc969b5641bae967009fa0109 100644 (file)
@@ -16,8 +16,9 @@ def hal():
             devicetree might be mandatory and perhaps the only
             way.
         """
+        require (not arch_x86)
 
-        return arch.val not in ["x86_64", "i386"]
+        return False
 
     @"Maximum size of device tree blob (in KiB)"
     @readonly
@@ -25,6 +26,13 @@ def hal():
         """
             Maximum size for a firmware provided device tree blob
         """
-        require(use_devicetree)
+        require (use_devicetree)
 
-        return 256
\ No newline at end of file
+        return 256
+    
+    @"Graphic Devices"
+    def use_graphic_dev() -> int:
+        """
+            Support of graphical devices and display protocol
+        """
+        return False
\ No newline at end of file