some modifications in kernel-config-helper
[cmdllinux.git] / kernel / config_helper / search_kconfig_2_cond.sh
blobe34c00906c824af132a66d3b7e9875f83fceaa7c
1 #list config symbol parts of "Kconfig"s
2 #check "help" key word
3 find -type f -name "Kconfig" | \
4 while read file; do
5 sh /bin/_find_file_section.sh -u -z -n -1 -2 "^[[:space:]]\+help$\|^[[:space:]]\+---help---$" "$file" "^config\|^menuconfig" "^comment\|^if\|^config\|^endif\|^choice\|^endchoice\|^endmenu\|^menuconfig\|^source\|^#"
6 done
8 #grep_key_conf_elements
10 #comment
11 #if
12 #config
13 #endif
14 #endchoice
15 #choice
16 #endmenu
17 #menuconfig
18 #source