Changeset 44780


Ignore:
Timestamp:
2015-03-15T12:08:01+01:00 (3 years ago)
Author:
nbd
Message:

scripts/metadata.pm: save target makefile names

Signed-off-by: Felix Fietkau <nbd@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/metadata.pm

    r44776 r44780  
    3535        my ($target, @target, $profile); 
    3636        my %target; 
     37        my $makefile; 
    3738 
    3839        open FILE, "<$file" or do { 
     
    4243        while (<FILE>) { 
    4344                chomp; 
     45                /^Source-Makefile: \s*((.+\/)([^\/]+)\/Makefile)\s*$/ and $makefile = $1; 
    4446                /^Target:\s*(.+)\s*$/ and do { 
    4547                        my $name = $1; 
     
    4749                                id => $name, 
    4850                                board => $name, 
     51                                makefile => $makefile, 
    4952                                boardconf => confstr($name), 
    5053                                conf => confstr($name), 
Note: See TracChangeset for help on using the changeset viewer.