]>
git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - debian/scripts/misc/tristate.sh
4 # Find config variables that might be able to transition from =y to =m
6 # Example: debian/scripts/misc/tristate.sh debian.master/config/config.common.ubuntu
11 find .|
grep Kconfig |
while read f
16 grep =y
$1 |
sed -e 's/CONFIG_//' -e 's/=y//' |
while read c
18 cat <<EOF > tristate.awk
20 /^config ${c}\$/ { tristate=1; next; }
21 /tristate/ { if (tristate == 1) printf("CONFIG_%s=m\n","${c}"); next; }
22 { if (tristate == 1) exit; }
25 gawk
-f tristate.
awk ${KC}