55 lines
2.0 KiB
Plaintext
55 lines
2.0 KiB
Plaintext
# make.PPC405sfgnu - GNU compilation tools definitions for PowerPC 405
|
|
#
|
|
# Copyright 1995-2003 Wind River Systems, Inc.
|
|
#
|
|
# modification history
|
|
# --------------------
|
|
# 01o,10aug04,kab SPR#100219: support for TOOL=sfdiab, sfgnu.
|
|
# 01n,10dec03,sn added -msoft-float to allow the compiler to correctly find
|
|
# its own libraries (needed when we build target/src/tool)
|
|
# 01o,26nov03,c_c Use += instead of := for AS assignment.
|
|
# 01n,07nov03,c_c Removed Compiler definitions.
|
|
# 01m,31jan03,pch Add PPC32 support
|
|
# 01l,12feb02,sn removed obsolete refs to GCC_EXEC_PREFIX
|
|
# removed -fno-for-scope
|
|
# 01k,21jan02,sn removed unused C++_TEMPLATE_INST
|
|
# 01j,10dec01,tpw Ensure ROM_SIZE defaults to 0x0 if the macro is not set.
|
|
# 01i,05dec01,tpw Utilize DOTBOOT{RAM,ROM} linker scripts on all PPC4xx BSPs.
|
|
# 01h,16nov01,mil Changed VX_CPU_FAMILY from PPC to ppc.
|
|
# 01g,30oct01,tpw Standardize kernel links and bootrom conversions.
|
|
# 01f,11oct01,dat SPR 20403, OPTIM_DRIVER must have -fvolatile
|
|
# 01e,25sep01,dat Location of defs.gnu changed to tool/gnu
|
|
# 01d,22may01,pch Remove unneeded LIBS definition
|
|
# 01c,17nov00,jrs Change over to native 405 architecture.
|
|
# 01b,24oct00,s_m renaming cpu type
|
|
# 01a,22jun2k,alp Created from make.PPC403gnu.
|
|
#
|
|
# DESCRIPTION
|
|
# This file contains PowerPC 405 specific definitions and flags for the
|
|
# gnu tools (compiler, assembler, linker etc.)
|
|
#*/
|
|
|
|
CPU = PPC405
|
|
TOOL = sfgnu
|
|
|
|
include $(TGT_DIR)/h/tool/common/defs.ppc
|
|
|
|
CC_OPTIM_DRIVER = -fno-builtin -fvolatile
|
|
CC_OPTIM_NORMAL = -O2 -fstrength-reduce -fno-builtin
|
|
CC_OPTIM_TARGET = -O2 -fvolatile -fno-builtin
|
|
CC_ARCH_SPEC = -mcpu=405 -mstrict-align -msoft-float
|
|
|
|
LD_SCRIPT_RAM = -defsym wrs_kernel_rom_size=0x0$(ROM_SIZE) \
|
|
-T $(TGT_DIR)/h/tool/gnu/ldscripts/link.DOTBOOTRAM
|
|
LD_SCRIPT_ROM = -defsym wrs_kernel_rom_size=0x0$(ROM_SIZE) \
|
|
-T $(TGT_DIR)/h/tool/gnu/ldscripts/link.DOTBOOTROM
|
|
|
|
AS += -m405
|
|
CF =
|
|
|
|
# No Cfront support for PowerPC
|
|
MAKETAIL =
|
|
CLEANTAIL =
|
|
|
|
# end of make.PPC405sfgnu
|