kernel/eka/compsupp/bld.inf
author Tom Cosgrove <tom.cosgrove@nokia.com>
Fri, 28 May 2010 16:26:05 +0100
branchRCL_3
changeset 29 743008598095
parent 19 4a8fed1c0ef6
permissions -rw-r--r--
Fix for bug 2283 (RVCT 4.0 support is missing from PDK 3.0.h) Have multiple extension sections in the bld.inf, one for each version of the compiler. The RVCT version building the tools will build the runtime libraries for its version, but make sure we extract all the other versions from zip archives. Also add the archive for RVCT4.

// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of the License "ARM EABI LICENCE.txt"
// which accompanies this distribution, and is available
// in kernel/eka/compsupp.
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
// Compiler runtime support.
// 
//

PRJ_PLATFORMS

ARMV4 ARMV5 ARMV5SMP ARMV7


PRJ_EXPORTS

rvct.h                      SYMBIAN_OS_LAYER_PUBLIC_EXPORT_PATH(rvct/)
gcce/gcce.h                 SYMBIAN_OS_LAYER_PUBLIC_EXPORT_PATH(gcce/)

symcpp/symcpp.h SYMBIAN_OS_LAYER_PUBLIC_EXPORT_PATH(symcpp.h)

compsupp.iby                /epoc32/rom/include/


PRJ_MMPFILES

#if !defined(GCCXML) && !defined(GCCE)

    symcpp/scppnwdl.mmp
    rvct/dfprvct-thunk.mmp
    rvct/usrt.mmp
    rvct/ksrt.mmp

    #ifndef SMP // Don't build dynamic libraries for SMP.

        rvct/drtaeabi.mmp

        rvct/dfpaeabi.mmp
        rvct/dfpaeabi_vfpv2.mmp

        #if defined(ARMCC_2_2) || defined(ARMCC_3_1)

            rvct/drtrvct.mmp
            rvct/drtrvct_vfpv2.mmp

            rvct/dfprvct.mmp
            rvct/dfprvct_vfpv2.mmp

        #endif

    #endif // #ifndef SMP

#endif // #if !defined(GCCXML) && !defined(GCCE)


PRJ_EXTENSIONS

#if !defined(GCCXML) && !defined(GCCE)

    // We need the runtime libraries for all versions of the compiler.
    // The version we're running with will build its own runtime library;
    // we need to extract the other versions from archives.

    #ifndef ARMCC_2_2
        start extension tools/compsupp
        option FILE  $(EXTENSION_ROOT)/rt_2_2.zip
        option TODIR $(EPOCROOT)epoc32/release
        end
    #endif

    #ifndef ARMCC_3_1
        start extension tools/compsupp
        option FILE  $(EXTENSION_ROOT)/rt_3_1.zip
        option TODIR $(EPOCROOT)epoc32/release
        end
    #endif

    #ifndef ARMCC_4_0
        start extension tools/compsupp
        option FILE  $(EXTENSION_ROOT)/rt_4_0.zip
        option TODIR $(EPOCROOT)epoc32/release
        end
    #endif

#endif // #if !defined(GCCXML) && !defined(GCCE)