📄 makefile
字号:
# Makefile - for target/config/m5272c3## Copyright 1984-2001 Wind River Systems, Inc.## modification history# --------------------# 01g,29may02,dee change RELEASE to RELEASE_PRE# 01f,23may02,dee change target environment to vxworks55# 01e,14may02,dee only include motFecEnd.obj file# 01d,11dec01,rec add motFecEnd driver# 01c,28nov01,dee make T2.2 changes# 01b,30oct01,tpw Standardize kernel links and bootrom conversions.# 01a,20mar01,hjg Written based on m5206ec3 BSP.## DESCRIPTION# This file contains rules for building VxWorks for the# Motorola m5272c3 board.##*/CPU = MCF5200TOOL = diabTGT_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 = m5235VENDOR = MotorolaBOARD = m5235## The constants ROM_TEXT_ADRS, ROM_SIZE, and RAM_HIGH_ADRS are defined# in config.h, Makefile, and Makefile.*# All definitions for these constants must be identical.#ROM_TEXT_ADRS = ffc00008 # 00200000 # # ROM entry addressROM_SIZE = 400000#00200000 # nmber of bytes of ROM space (2Meg)RAM_LOW_ADRS = 00001000 # RAM text/data address VXWORKSRAM_HIGH_ADRS = 1000000#00200000 # RAM text/data address BOOTROMEXTRA_DEFINE = -gMACH_EXTRA = nandMtd.o tffsDrv.o flflash.o fatlite.o fltl.o nftllite.o tffsLib.o dosformt.o dosFsLib.o dosVDirLib.o dosFsFat.o cbioLib.o dcacheCbio.o ioLib.o iosLib.o fopen.o fread.o fwrite.o fclose.oRELEASE_PRE += ## Use a separate linker script for rom resident images ONLY.# [TPW] when possible this should switch over to the new generic script.#RES_LDFLAGS = LD_SCRIPT_ROM =## Use new three-stage method for filling gaps, adding vectors, and controlling# the final S-Record address. Note the third (VMA_FLAGS) stage is only really# needed when the final output address is something other than zero, and the# second stage should always use --set-start=0x0 so the main image starts just# after the vectors.#START_FLAGS =HEX_FLAGS = --gap-fill=0NO_VMA_FLAGS = --ignore-vma --set-start=0x0 \ --output-vector-pc=0x$(ROM_TEXT_ADRS) \ --output-vector-sp=0x$(RAM_LOW_ADRS)VMA_FLAGS = --ignore-vma --set-start=0x0TGT_FLAG = -tMCF5272FS:vxworks55## Only redefine make definitions above this point, or the expansion of ## makefile target dependencies may be incorrect.include $(TGT_DIR)/h/make/rules.bsp
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -