1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-24 05:11:46 +02:00

include the default profile in target.mk as well - required for the image builder on certain targets

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6098 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2007-01-14 21:44:13 +00:00
parent 207526197a
commit cd8d915cb5

View File

@ -46,6 +46,15 @@ sub parse_target_metadata() {
/^Target-Profile-Name:\s*(.+)\s*$/ and $profile->{name} = $1;
/^Target-Profile-Packages:\s*(.*)\s*$/ and $profile->{packages} = [ split(/\s+/, $1) ];
}
foreach my $target (@target) {
@{$target->{profiles}} > 0 or $target->{profiles} = [
{
id => 'Default',
name => 'Default',
packages => []
}
];
}
return @target;
}
@ -274,13 +283,6 @@ EOF
foreach my $target (@target) {
my $profiles = $target->{profiles};
@$profiles > 0 or $profiles = [
{
id => 'Default',
name => 'Default',
packages => []
}
];
foreach my $profile (@$profiles) {
print <<EOF;
config LINUX_$target->{conf}_$profile->{id}