Subversion Repositories DevTools

Rev

Rev 5115 | Rev 5619 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5115 Rev 5330
Line 85... Line 85...
85
       BASE => 'bin/arm-iwmmxt-linux-gnueabi-',
85
       BASE => 'bin/arm-iwmmxt-linux-gnueabi-',
86
       VERSION      => '4.2.4',
86
       VERSION      => '4.2.4',
87
       MACHINE      => 'arm-iwmmxt-linux-gnueabi'
87
       MACHINE      => 'arm-iwmmxt-linux-gnueabi'
88
    },
88
    },
89
 
89
 
-
 
90
    'arm-unknown-linux-gnueabi-sk20-4.1.0.0'  => {
-
 
91
       ROOT => '/opt/arm-unknown-linux-gnueabi-sk20-4.1.0.0',
-
 
92
       BASE => 'bin/arm-unknown-linux-gnueabi-',
-
 
93
       VERSION      => '4.8.2',
-
 
94
       MACHINE      => 'arm-unknown-linux-gnueabi'
-
 
95
    },
-
 
96
 
90
    'x86_64-linux-gnu'    => {
97
    'x86_64-linux-gnu'    => {
91
       ROOT         => '/usr',
98
       ROOT         => '/usr',
92
       BASE         => 'bin/',
99
       BASE         => 'bin/',
93
       PACKAGE_ARCH => 'amd64',
100
       PACKAGE_ARCH => 'amd64',
94
       VERSION      => '4.8',
101
       VERSION      => '4.8',
Line 290... Line 297...
290
    if ( $arg_alias )
297
    if ( $arg_alias )
291
    {
298
    {
292
        if ( exists $ToolsetConfig{ $arg_alias } )
299
        if ( exists $ToolsetConfig{ $arg_alias } )
293
        {
300
        {
294
            $GCCToolchain = $ToolsetConfig{ $arg_alias };
301
            $GCCToolchain = $ToolsetConfig{ $arg_alias };
-
 
302
            my $testCompilerPath = $GCCToolchain->{ROOT} . '/' . $GCCToolchain->{BASE} . 'gcc';
295
            $tools_found = (-d $GCCToolchain->{ROOT});
303
            $tools_found = (-d $GCCToolchain->{ROOT}) && ( -f $testCompilerPath);
296
            Warning ("gcc toolset: CrossPlatform toolchain not found for: $arg_alias",
304
            Warning ("gcc toolset: CrossPlatform toolchain not found for: $arg_alias",
297
                     "Path: $GCCToolchain->{ROOT}" ) unless $tools_found;
305
                     "Path    : $GCCToolchain->{ROOT}",
-
 
306
                     "Compiler: $testCompilerPath"
-
 
307
                      ) unless $tools_found;
298
        }
308
        }
299
        else
309
        else
300
        {
310
        {
301
            Error("gcc toolset: CrossPlatform Alias not configured: $arg_alias");
311
            Error("gcc toolset: CrossPlatform Alias not configured: $arg_alias");
302
        }
312
        }