aboutsummaryrefslogtreecommitdiff
path: root/validate-manifest.pl
diff options
context:
space:
mode:
authorCharles Baylis <charles.baylis@linaro.org>2016-08-24 14:52:44 +0200
committerCharles Baylis <charles.baylis@linaro.org>2016-08-24 14:52:44 +0200
commitd6dc01b246bde9963f02c3aecdadc1acda1adb51 (patch)
treedf90176dcf0595bbac029ebeb562155d87b1b748 /validate-manifest.pl
parent86680474fc5ed674620fe581250f4e7b3557e83e (diff)
Don't require gdbserver for non-linux targets.
Non-linux targets do not build gdbserver. Therefore, when the target does not contain 'linux', gdbserver should not be on the list of required components.
Diffstat (limited to 'validate-manifest.pl')
-rwxr-xr-xvalidate-manifest.pl10
1 files changed, 8 insertions, 2 deletions
diff --git a/validate-manifest.pl b/validate-manifest.pl
index 4ea7aef..fbf7221 100755
--- a/validate-manifest.pl
+++ b/validate-manifest.pl
@@ -284,9 +284,15 @@ sub check_gdbserver
sub check_components_list
{
- my @required_components = qw(gmp mpfr mpc linux dejagnu binutils gcc gdb gdbserver );
+ my @required_components = qw(gmp mpfr mpc dejagnu binutils gcc gdb);
+ my @linux_target_components = qw(linux gdbserver);
my @win32_components = qw(expat python);
- my @valid_clibs = qw(glibc newlib eglibc);
+ my @valid_clibs = qw(glibc newlib eglibc);
+
+ if ($flag_info{target} =~ /linux/)
+ {
+ push @required_components, @linux_target_components
+ }
my @clibs=();
foreach my $comp (keys %component_info)