# make.PPC85XXgnu - GNU compilation tools definitions for PowerPC e500 Core # # Copyright 1995-2004, 2008, 2010-2012 Wind River Systems, Inc. # # The right to copy, distribute or otherwise make use of this software # may be licensed only pursuant to the terms of an applicable Wind River # license agreement. # # modification history # -------------------- # 02i,12apr12,h_k moved common env setting to defs.ppc. # disabled _e500mc support. (WIND00346346) # 02h,14feb12,h_k updated compiler option for e500mc to support HW FPU. # (WIND00333971, WIND00345701) # 02g,13jun11,mze add debug # 02f,13apr10,pee locally enabling SMP build specs for bdgen # 02e,08sep08,pee adding WRS_CONFIG_FP definition. # 02d,22jul08,pee adding e500v2 support for VSB. # 02c,04nov04,dtr SPR 103587 - set soft float flag for backward compatibility # only. # 02b,09aug04,kab SPR#100219: support for TOOL=sfdiab, sfgnu. # 02a,27aug03,xav Change NM value to avoid failure on win32 host and SIZE # value to avoid warnings during the project creation. # 01z,08aug03,xav Change the CC compiler value to ccppc # 01y,01aug03,xav Set compilers values to specific e500 gnu 3.3 values # 01x,03jun03,dtr Changing cpu type to 8540. # 01w,12feb02,sn removed obsolete refs to GCC_EXEC_PREFIX # 01v,21jan02,sn removed unused C++_TEMPLATE_INST # 01u,16nov01,mil Changed VX_CPU_FAMILY from PPC to ppc. # 01t,30oct01,tpw Standardize kernel links and bootrom conversions. # 01s,11oct01,dat SPR 20403, OPTIM_DRIVER must have -fvolatile # 01r,25sep01,dat Location of defs.gnu changed to tool/gnu # 01q,18oct00,sn removed -fno-for-scope # 01p,16oct00,sn added include gnu; removed LIBS defn # 01o,09oct00,sn Added -mcpu=603 # 01n,18jan99,sn Defined C++_TEMPLATE_INST # 01m,27oct98,ms undid 01m # 01l,02apr98,pcn Removed Objcopy changes from Tempest view # 01k,15dec97,pcn Added Objcopy in BSP build. # 01j,18sep97,ms added ARCH_DIR # 01i,04oct96,yp Added -B option so compiler driver doesn't need EXEC_PREFIX, # added CC_ARCH_SPEC for machine specific flags # 01h,06aug96,tam added -mstrict-align flag. # 01g,16jul96,tpr removed EXTRA_DEFINE # 01f,04feb96,tpr removed -msdata flag. # 01e,23feb96,yp added defs for ELF tools # 01d,14feb96,tpr moved -msdata from EXTRA_DEFINE to CC_OPTIM_NORMAL. # 01c,13feb96,tpr removed Cfront support for PowerPC. # 01b,27jan96,tpr replaced gccppc by ccppc. # 01a,29nov95,tpr written from make.PPC603diab 01d version. # # DESCRIPTION # This file contains PowerPC e500 core specific definitions and flags for the # gnu tools (compiler, assembler, linker etc.) #*/ CPU = PPC85XX TOOL = gnu ifeq ($(LIB_DIR_TAG),_e500mc) $(error LIB_DIR_TAG=_e500mc is not supported in this build spec!) else ifeq ($(CPU_VARIANT),_e500mc) $(error CPU_VARIANT=_e500mc is not supported in this build spec!) endif endif _WRS_CONFIG_FP ?= soft include $(TGT_DIR)/h/tool/common/defs.ppc # Make sure there is no SPE instruction generated by disabling SPE ABI. # This is added to be safe in case GCC has an issue. CC_ARCH_SPEC = -mcpu=8540 -mabi=no-spe ifdef _BDGEN_ MP_OPTION_PPC85XX_SMP = TRUE endif include $(TGT_DIR)/h/tool/gnu/defs.ppc # end of make.PPC85XXgnu