Yet another major rework of the BusyBox config system, using the considerably
modified Kbuild system I put into uClibc. With this, there should be no more need to modify Rules.mak since I've moved all the interesting options into the config system. I think I've got everything updated, but you never know, I may have made some mistakes, so watch closely. -Erik
This commit is contained in:
104
editors/Config.in
Normal file
104
editors/Config.in
Normal file
@@ -0,0 +1,104 @@
|
||||
#
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see scripts/kbuild/config-language.txt.
|
||||
#
|
||||
|
||||
menu "Editors"
|
||||
|
||||
config CONFIG_AWK
|
||||
bool "awk"
|
||||
default n
|
||||
help
|
||||
Please submit a patch to add help text for this item.
|
||||
|
||||
config CONFIG_FEATURE_AWK_MATH
|
||||
bool " Enable math functions (requires libm)"
|
||||
default y
|
||||
depends on CONFIG_AWK
|
||||
help
|
||||
Please submit a patch to add help text for this item.
|
||||
|
||||
config CONFIG_SED
|
||||
bool "sed"
|
||||
default n
|
||||
help
|
||||
Please submit a patch to add help text for this item.
|
||||
|
||||
config CONFIG_VI
|
||||
bool "vi"
|
||||
default n
|
||||
help
|
||||
Please submit a patch to add help text for this item.
|
||||
|
||||
config CONFIG_FEATURE_VI_COLON
|
||||
bool " Enable \":\" colon commands (no \"ex\" mode)"
|
||||
default y
|
||||
depends on CONFIG_VI
|
||||
help
|
||||
Please submit a patch to add help text for this item.
|
||||
|
||||
config CONFIG_FEATURE_VI_YANKMARK
|
||||
bool " Enable yank/put commands and mark cmds"
|
||||
default y
|
||||
depends on CONFIG_VI
|
||||
help
|
||||
Please submit a patch to add help text for this item.
|
||||
|
||||
config CONFIG_FEATURE_VI_SEARCH
|
||||
bool " Enable search and replace cmds"
|
||||
default y
|
||||
depends on CONFIG_VI
|
||||
help
|
||||
Please submit a patch to add help text for this item.
|
||||
|
||||
config CONFIG_FEATURE_VI_USE_SIGNALS
|
||||
bool " Catch signals"
|
||||
default y
|
||||
depends on CONFIG_VI
|
||||
help
|
||||
Please submit a patch to add help text for this item.
|
||||
|
||||
config CONFIG_FEATURE_VI_DOT_CMD
|
||||
bool " Remember previous cmd and \".\" cmd"
|
||||
default y
|
||||
depends on CONFIG_VI
|
||||
help
|
||||
Please submit a patch to add help text for this item.
|
||||
|
||||
config CONFIG_FEATURE_VI_READONLY
|
||||
bool " Enable -R option and \"view\" mode"
|
||||
default y
|
||||
depends on CONFIG_VI
|
||||
help
|
||||
Please submit a patch to add help text for this item.
|
||||
|
||||
config CONFIG_FEATURE_VI_SETOPTS
|
||||
bool " Enable set-able options, ai ic showmatch"
|
||||
default y
|
||||
depends on CONFIG_VI
|
||||
help
|
||||
Please submit a patch to add help text for this item.
|
||||
|
||||
config CONFIG_FEATURE_VI_SET
|
||||
bool " Support for :set"
|
||||
default y
|
||||
depends on CONFIG_VI
|
||||
help
|
||||
Please submit a patch to add help text for this item.
|
||||
|
||||
config CONFIG_FEATURE_VI_WIN_RESIZE
|
||||
bool " Handle window resize"
|
||||
default y
|
||||
depends on CONFIG_VI
|
||||
help
|
||||
Please submit a patch to add help text for this item.
|
||||
|
||||
config CONFIG_FEATURE_VI_OPTIMIZE_CURSOR
|
||||
bool " Optimize cursor movement"
|
||||
default y
|
||||
depends on CONFIG_VI
|
||||
help
|
||||
Please submit a patch to add help text for this item.
|
||||
|
||||
endmenu
|
||||
|
||||
@@ -1,28 +0,0 @@
|
||||
#
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see scripts/kbuild/config-language.txt.
|
||||
#
|
||||
|
||||
mainmenu_option next_comment
|
||||
comment 'Editors'
|
||||
|
||||
bool 'awk' CONFIG_AWK
|
||||
if [ "$CONFIG_AWK" = "y" ]; then
|
||||
bool ' Enable math functions (requires libm)' CONFIG_FEATURE_AWK_MATH
|
||||
fi
|
||||
bool 'sed' CONFIG_SED
|
||||
bool 'vi' CONFIG_VI
|
||||
if [ "$CONFIG_VI" = "y" ]; then
|
||||
bool ' Enable ":" colon commands (no "ex" mode)' CONFIG_FEATURE_VI_COLON
|
||||
bool ' Enable yank/put commands and mark cmds' CONFIG_FEATURE_VI_YANKMARK
|
||||
bool ' Enable search and replace cmds' CONFIG_FEATURE_VI_SEARCH
|
||||
bool ' Catch signals' CONFIG_FEATURE_VI_USE_SIGNALS
|
||||
bool ' Remember previous cmd and "." cmd' CONFIG_FEATURE_VI_DOT_CMD
|
||||
bool ' Enable -R option and "view" mode' CONFIG_FEATURE_VI_READONLY
|
||||
bool ' Enable set-able options, ai ic showmatch' CONFIG_FEATURE_VI_SETOPTS
|
||||
bool ' Support for :set' CONFIG_FEATURE_VI_SET
|
||||
bool ' Handle window resize' CONFIG_FEATURE_VI_WIN_RESIZE
|
||||
bool ' Optimize cursor movement' CONFIG_FEATURE_VI_OPTIMIZE_CURSOR
|
||||
fi
|
||||
endmenu
|
||||
|
||||
Reference in New Issue
Block a user