Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 161311
b: refs/heads/master
c: 744ffcb
h: refs/heads/master
i:
  161309: 1d8f5cc
  161307: 6d0c570
  161303: 8dd5214
  161295: 1a1b765
  161279: db096d3
v: v3
  • Loading branch information
Steven Rostedt authored and Steven Rostedt committed Aug 19, 2009
1 parent 940793d commit d7c704a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ea2c1894b66301bce565471d6914d49ce91ee015
refs/heads/master: 744ffcbe867b81e9f467503c85bc5e4f9a586294
33 changes: 23 additions & 10 deletions trunk/scripts/kconfig/streamline_config.pl
Original file line number Diff line number Diff line change
Expand Up @@ -256,18 +256,31 @@ sub parse_config_dep_select
# Finally, read the .config file and turn off any module enabled that
# we could not find a reason to keep enabled.
while(<CIN>) {
if (/^(CONFIG.*)=(m|y)/) {
if (defined($configs{$1})) {
$setconfigs{$1} = $2;
print;
} elsif ($2 eq "m") {
print "# $1 is not set\n";
} else {
print;
}

if (/CONFIG_IKCONFIG/) {
if (/# CONFIG_IKCONFIG is not set/) {
# enable IKCONFIG at least as a module
print "CONFIG_IKCONFIG=m\n";
# don't ask about PROC
print "# CONFIG_IKCONFIG is not set\n";
} else {
print;
}
next;
}

if (/^(CONFIG.*)=(m|y)/) {
if (defined($configs{$1})) {
$setconfigs{$1} = $2;
print;
} elsif ($2 eq "m") {
print "# $1 is not set\n";
} else {
print;
print;
}
} else {
print;
}
}
close(CIN);

Expand Down

0 comments on commit d7c704a

Please sign in to comment.