Files
2026-07-30 11:19:44 +05:30

76 lines
2.8 KiB
Plaintext

# make.PPC85XXsfgnu - GNU compilation tools definitions for PowerPC e500 Core
#
# Copyright 1995-2004, 2010-2012 Wind River Systems, Inc.
#
# The right to copy, distribute, modify or otherwise make use
# of this software may be licensed only pursuant to the terms
# of an applicable Wind River license agreement.
#
# modification history
# --------------------
# 02f,12apr12,h_k moved common env setting to defs.ppc.
# disabled _e500mc support. (WIND00346346)
# 02e,13jun11,mze add debug
# 02d,13apr10,pee locally enabling SMP build specs for bdgen
# 02c,03nov04,dtr SPR#103587:Ensure no hw float or SPE instructions produced.
# 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 = sfgnu
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
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.PPC85XXsfgnu