+# petitboot package config
+
+config PETITBOOT_GUI
+ bool "Enable Graphical UI support"
+ depends on PACKAGE_petitboot
+ select PACKAGE_libtwin
+ default y
+ help
+ Enable support a petitboot graphical front end based on
+ the twin windowing package.
+
+config PETITBOOT_CUI
+ bool "Enable Command-line UI support"
+ depends on PACKAGE_petitboot
+ select PACKAGE_libncurses
+ default y
+ help
+ Enable support a petitboot command-line front end based on
+ the ncurses package.
+
+config PETITBOOT_DEBUG
+ bool "Build debug versions of petitboot binaries"
+ depends on PACKAGE_petitboot
+ default n
+ help
+ Enable additional petitboot runtime checks and debug messages.
+
+config PETITBOOT_PS3
+ bool "Build in extra support for the PS3 game console"
+ depends on PACKAGE_petitboot
+ default n
+ help
+ Enable additional petitboot runtime checks and debug messages.
+
+choice
+ prompt "Startup behavior"
+ default PETITBOOT_AUTORUN_GUI
+ depends on PETITBOOT_GUI || PETITBOOT_CUI
+
+config PETITBOOT_AUTORUN_GUI
+ bool "Auto run Petitboot GUI"
+ depends on PETITBOOT_GUI
+ help
+ Automatically run Petitboot in graphical mode at
+ system startup. Note that the Petitboot program has a menu item
+ 'Exit to Shell' that can be used to exit the program when
+ it is running.
+
+config PETITBOOT_AUTORUN_CUI
+ bool "Auto run Petitboot CUI"
+ depends on PETITBOOT_CUI
+ help
+ Automatically run Petitboot in command-line mode at system
+ startup. Note that the Petitboot program has a menu item
+ 'Exit to Shell' that can be used to exit the program when
+ it is running.
+
+config PETITBOOT_AUTORUN_NONE
+ bool "Disable Petitboot auto run"
+ help
+ Disable Petitboot from running automatically at system startup.
+ The system will boot into a shell. Petitboot can still be run
+ manually from the shell prompt when this option is selected.
+
+endchoice