projects
/
oweals
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
odhcpd: unsolicited unicast RAs + fix NDP-relay
[oweals/openwrt.git]
/
scripts
/
metadata.pm
diff --git
a/scripts/metadata.pm
b/scripts/metadata.pm
index aa82fcd95d3189f871b87f71143557e90181487a..09273df3ad543e2001c392d26144637f72a6fa8b 100644
(file)
--- a/
scripts/metadata.pm
+++ b/
scripts/metadata.pm
@@
-34,6
+34,7
@@
sub parse_target_metadata($) {
my $file = shift;
my ($target, @target, $profile);
my %target;
my $file = shift;
my ($target, @target, $profile);
my %target;
+ my $makefile;
open FILE, "<$file" or do {
warn "Can't open file '$file': $!\n";
open FILE, "<$file" or do {
warn "Can't open file '$file': $!\n";
@@
-41,11
+42,13
@@
sub parse_target_metadata($) {
};
while (<FILE>) {
chomp;
};
while (<FILE>) {
chomp;
+ /^Source-Makefile: \s*((.+\/)([^\/]+)\/Makefile)\s*$/ and $makefile = $1;
/^Target:\s*(.+)\s*$/ and do {
my $name = $1;
$target = {
id => $name,
board => $name,
/^Target:\s*(.+)\s*$/ and do {
my $name = $1;
$target = {
id => $name,
board => $name,
+ makefile => $makefile,
boardconf => confstr($name),
conf => confstr($name),
profiles => [],
boardconf => confstr($name),
conf => confstr($name),
profiles => [],