49 lines
1.7 KiB
Plaintext
49 lines
1.7 KiB
Plaintext
# make.PPC440gnu - GNU compilation tools definitions for PowerPC 440
|
|
#
|
|
# Copyright 1995-2002 Wind River Systems, Inc.
|
|
#
|
|
# modification history
|
|
# --------------------
|
|
# 01j,09aug04,kab SPR#100219: support for TOOL=sfdiab, sfgnu.
|
|
# 01h,10dec03,sn added -msoft-float to allow the compiler to correctly find
|
|
# its own libraries (needed when we build target/src/tool)
|
|
# 01i,26nov03,c_c Use += instead of := for AS assignment.
|
|
# 01h,07nov03,c_c Removed Compiler definitions.
|
|
# 01g,12dec02,pch Add PPC32 support
|
|
# 01f,12feb02,sn removed obsolete refs to GCC_EXEC_PREFIX
|
|
# remove -fno-for-scope
|
|
# 01e,21jan02,sn removed unused C++_TEMPLATE_INST
|
|
# 01d,10dec01,tpw Ensure ROM_SIZE defaults to 0x0 if the macro is not set.
|
|
# 01c,05dec01,tpw Utilize DOTBOOT{RAM,ROM} linker scripts on all PPC4xx BSPs.
|
|
# 01b,27nov01,pch merged in make.PPC405gnu vns 01e-01h
|
|
# 01a,13aug01,pch Created (from make.PPC405gnu vn 01d).
|
|
#
|
|
# DESCRIPTION
|
|
# This file contains PowerPC 440 specific definitions and flags for the
|
|
# gnu tools (compiler, assembler, linker etc.)
|
|
#*/
|
|
|
|
CPU = PPC440
|
|
TOOL = gnu
|
|
|
|
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=440 -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 += -m440
|
|
CF =
|
|
|
|
# No Cfront support for PowerPC
|
|
MAKETAIL =
|
|
CLEANTAIL =
|
|
|
|
# end of make.PPC440gnu
|