@Group def x86_configurations(): add_to_collection(architecture_support) @Term("Use SSE2/3/4 extension") def x86_enable_sse_feature(): """ Config whether to allow using SSE feature for certain optimization """ type(bool) default(False) @Term("Bootloader Model") def x86_bl(): """ Select the bootloader interface Supported interface mb: multiboot compliance mb2: multiboot2 compliance none: do not use any interface """ type(["mb"]) # type(["mb", "mb2", "none"]) default("mb") return v(arch) in ["i386", "x86_64"]