📄 makefile
字号:
# Makefile - makefile for sandpoint sp74xx## Copyright 1984-2001 Wind River Systems, Inc.## modification history# --------------------# 01p,19jul02,pcs Specify ROM_LINK_ADRS to fix compressed images.# 01o,31jan02,pcs Correct typo's.# 01n,24jan02,mil Changed define of CPU7410 to SP7410.# 01m,22jan02,pcs Remove references to -DSP750 & -DSP755# 01l,14nov01,dat removed RELEASE# 01k,02nov01,tpw Standardize kernel links and bootrom conversions.# 01j,25sep01,dat Update for T2.2# 01i,05jun01,pcs ADD support for PPMC750 & PPMC755.# 01h,24apr01,kab Make -fvec optional off# 01g,13apr01,mil Added EXTRA_DEFINE for 7410 due to new L2 features# 01f,11apr01,mil Expanding 7400 scope to cover 7410# 01e,28mar01,pch Set HEX_FLAGS to empty for new GNU objcopyppc# 01d,23mar01,pcs Add the -fvec/-fvec_ABI option.# 01c,15jan01,pcs Modify to make a non-altivec release.# 01b,12sep00,ksn added EXTRA_DEFINE=-DSP7400, and cacheArchLib.a# 01a,10oct99,mtl written from SPS/Motorola & yk 750 by teamF1## DESCRIPTION# This file contains rules for building VxWorks for the template.## INCLUDES# makeTarget#*/CPU = PPC604TOOL = gnuTGT_DIR = $(WIND_BASE)/targetinclude $(TGT_DIR)/h/make/defs.bsp#include $(TGT_DIR)/h/make/make.$(CPU)$(TOOL)#include $(TGT_DIR)/h/make/defs.$(WIND_HOST_TYPE)## Only redefine make definitions below this point, or your definitions will## be overwritten by the makefile stubs above.TARGET_DIR = sp74xxVENDOR = Motorola############################################################################# By DEFAULT the BSP is compiled for PPMC7400###########################################################################BOARD = Sandpoint Altimus PPMC7400/7410EXTRA_DEFINE = -DSP7400########################################################################### uncomment the BOARD & EXTRA_DEFINE macro defined below if BSP# is to be built for PPMC7410 & comment the previously defined macros.###########################################################################BOARD = Sandpoint Altimus PPMC7400/7410#EXTRA_DEFINE = -DSP7410############################################################################# The constants ROM_TEXT_ADRS, ROM_SIZE, and RAM_HIGH_ADRS are defined# in config.h and Makefile.# All definitions for these constants must be identical.# Specify values in hexadecimal, without a leading 0x.#ROM_TEXT_ADRS = fff00100 # ROM cold entry addressROM_WARM_ADRS = fff00104 # ROM warm entry addressROM_SIZE = 00080000 # number of bytes of ROM space (512K)RAM_LOW_ADRS = 00010000 # RAM text/data address for vxWorksRAM_HIGH_ADRS = 00400000 # RAM text/data address for bootromLOCAL_MEM_SIZE = 01000000 # 16 meg memory# ROM_LINK_ADRS defaults to ROM_TEXT_ADRS, but needs to be different# here due to complications related to the .space 0x100 at the start# of romInit.s. Don't ask :)ROM_LINK_ADRS = fff00000 USR_ENTRY = usrInit# BOOT_EXTRA is for any additional bootrom module BOOT_EXTRA = # MACH_EXTRA is for any additional runtime modules MACH_EXTRA = #Use LIB_EXTRA to define extra driver libs to link against.LIB_EXTRA = DOC_FILES = sysCacheLockLib sysLib## Only redefine make definitions above this point, or the expansion ## of the makefile target dependencies may be incorrect.include $(TGT_DIR)/h/make/rules.bsp#include $(TGT_DIR)/h/make/rules.$(WIND_HOST_TYPE)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -