Subversion Repositories DevTools

Rev

Rev 5709 | Blame | Compare with Previous | Last modification | View Log | RSS feed

###############################################################################
# COPYRIGHT - VIX IP PTY LTD ("VIX"). ALL RIGHTS RESERVED.
# 
# File:         PLATFORM/ARM_I5100
#
# Contents:     Support for the ARM_I510 chipset platform with a ARMCompiler toolset
#
###############################################################################
#

ARM_I5100Init();

###############################################################################
#
#   This function is named after the invoking platform and the file that
#   this function is in. The two are bound.
#
#   The purpose of the xxxInit() is to provide platform-specfic support
#   to JATS. The function must do:
#
#       1) Parse any platform specific arguments
#          Arguments are specified with a PlatformRequire() statement
#       2) Define the toolset in use
#       3) Add flags and definitions as required
#
#
#   Note: Platform arguments are passed through in the Platform()
#         statement within a makefile.pl
#
#
sub ARM_I5100Init
{
    my( @args ) = @ScmPlatformArgs;            # Platform arguments
    my( $mri, $product );

#.. Parse arguments
#
    Debug( "ARM_I5100(@args)\n" );

    foreach $_ ( @args ) {
        if (/^--product=(.*)/) {
            $product = $1;
        } else {
            Message( "ARM_I5100: unknown option $_ -- ignored\n" );
        }
    }

#... Toolset
#
    Toolset( '*', "ARM251.PL" );

#... Platform
#
#    No required at the moment
#    If any are needed uncomment the follwoing line
#    PlatformDefines( "ARM_I5100.def" );
}

1;