libpayload: Add PDCurses and ncurses' libform/libmenu
[coreboot.git] / payloads / libpayload / Config.in
index fe534001bb40725b557bc917b13750ab412a390c..028dd332f9832fc1fa9ded2d83c2ec57224b1b4f 100644 (file)
@@ -90,9 +90,33 @@ config LIBC
        bool "Enable C library support"
        default y
 
+config CURSES
+       bool "Build a curses library"
+       default y
+
+choice
+       prompt "Curses implementation"
+       default PDCURSES
+       depends on CURSES
+
 config TINYCURSES
-       bool "Enable tinycurses support"
+       bool "Tinycurses"
+       help
+         Tinycurses was the first curses implementation for libpayload.
+         It features low memory consumption, static allocation of larger
+         data structures (so few or no memory allocation calls) and a
+         reduced feature set.
+
+config PDCURSES
+       bool "PDCurses"
        default y
+       help
+         libpayload's PDCurses port provides a full features curses
+         implementation, including libpanel, libmenu and libform (which
+         are taken from ncurses).
+         It requires more system resources, in particularily heap memory.
+
+endchoice
 
 config LAR
        bool "LAR support"