Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 220973
b: refs/heads/master
c: 20d1904
h: refs/heads/master
i:
  220971: 7c49322
v: v3
  • Loading branch information
Steven Rostedt authored and Steven Rostedt committed Oct 29, 2010
1 parent 6942680 commit 0631f73
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 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: cf5a189d4a02efb3712cfb424452f4ce3ab7c4a2
refs/heads/master: 20d190473328b90755eb2434cf2d26b73a53ef23
19 changes: 18 additions & 1 deletion trunk/scripts/kconfig/streamline_config.pl
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ sub find_config {
my %prompts;
my %objects;
my $var;
my $cont = 0;
my $iflevel = 0;
my @ifdeps;

Expand All @@ -139,6 +138,9 @@ sub read_kconfig {
my $config;
my @kconfigs;

my $cont = 0;
my $line;

my $source = "$ksource/$kconfig";
my $last_source = "";

Expand All @@ -153,6 +155,19 @@ sub read_kconfig {
while (<KIN>) {
chomp;

# Make sure that lines ending with \ continue
if ($cont) {
$_ = $line . " " . $_;
}

if (s/\\$//) {
$cont = 1;
$line = $_;
next;
}

$cont = 0;

# collect any Kconfig sources
if (/^source\s*"(.*)"/) {
$kconfigs[$#kconfigs+1] = $1;
Expand Down Expand Up @@ -230,6 +245,8 @@ sub read_kconfig {
# Read all Makefiles to map the configs to the objects
foreach my $makefile (@makefiles) {

my $cont = 0;

open(MIN,$makefile) || die "Can't open $makefile";
while (<MIN>) {
my $objs;
Expand Down

0 comments on commit 0631f73

Please sign in to comment.