+ if ($condition) {
+ if ($condition =~ /^!(.+)/) {
+ $depline = "\$(if \$(CONFIG_$1),,$depstr)";
+ } else {
+ $depline = "\$(if \$(CONFIG_$condition),$depstr)";
+ }
+ } else {
+ $depline = $depstr;
+ }
+ if ($depline) {
+ $deplines{$idx.$dep} = $depline;
+ }