summaryrefslogtreecommitdiff
path: root/scripts/deps.pl
Unidiff
Diffstat (limited to 'scripts/deps.pl') (more/less context) (ignore whitespace changes)
-rwxr-xr-xscripts/deps.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/deps.pl b/scripts/deps.pl
index feced6e..a219e36 100755
--- a/scripts/deps.pl
+++ b/scripts/deps.pl
@@ -44,25 +44,25 @@ sub makedepends ($$)
44 for (split(/\s+/, ${$depends}{$token})){ 44 for (split(/\s+/, ${$depends}{$token})){
45 /^\s+$/ && next; 45 /^\s+$/ && next;
46 /\&\&/ && next; 46 /\&\&/ && next;
47 /\|\|/ && next; 47 /\|\|/ && next;
48 /^$/ && next; 48 /^$/ && next;
49 /^\($/ && next; 49 /^\($/ && next;
50 /^\)$/ && next; 50 /^\)$/ && next;
51 /^on$/ && next; 51 /^on$/ && next;
52 /^!$/ && next; 52 /^!$/ && next;
53 if(defined(${$tokenpath}{"CONFIG_" . $_})){ 53 if(defined(${$tokenpath}{"CONFIG_" . $_})){
54 print '$(if $(CONFIG_' . $_ . '),' . ${$tokenpath}{"CONFIG_" . $_} . ') '; 54 print '$(if $(CONFIG_' . $_ . '),' . ${$tokenpath}{"CONFIG_" . $_} . ') ';
55 } else { 55 } else {
56 print STDERR "Warning: unable to locate path for token CONFIG_$_\n"; 56 # print STDERR "Warning: unable to locate path for token CONFIG_$_\n";
57 } 57 }
58 } 58 }
59 print "\n"; 59 print "\n";
60 } 60 }
61} 61}
62 62
63while( <> ) { 63while( <> ) {
64 my $dep; 64 my $dep;
65 my ($token, $path, $pro); 65 my ($token, $path, $pro);
66 chomp; 66 chomp;
67 s/^\s*//g; 67 s/^\s*//g;
68 s/\s*$//g; 68 s/\s*$//g;