Subversion Repositories DevTools

Rev

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

# -*- mode: perl; indent-width: 4; -*-
###############################################################################
# Copyright (c) ERG Transit Systems. 1996-2004
#
# File:         PLATFORM/linux_armv4
#
# Contents:     ARMV4 support
#
# Version   Who     Date        Description
#           APY     19/05/04    Created
###############################################################################
#

Armv4Init();

sub Armv4Init
{
#   Unix platform definitions
#
    $HOST_KERNEL    = "LINUX";
    $HOST_CPU       = "ARMV4";
    $HOST_PROD      = ""                if ( $HOST_PROD eq "" );
    $HOST_FAM       = "LINUX_ARMV4"     if ( $HOST_FAM eq "" );

#   Toolset and generic platforms
#
    Toolset( '*', 'gcc.pl', '--Target=Linux armv4', '--CrossAlias=armv4l-unknown-linux-gcc' );
    PlatformDefines( "linux_armv4.def" );
    PlatformRequire( "unix" );
}