📄 makefile
字号:
# Makefile - make rules for target/config/ixm1200## Copyright 1996-1998 Wind River Systems, Inc.## modification history# --------------------# 01j,06feb02,j_b added .ful and .bin targets to release# 01i,28jan02,j_b remove redundant link in .bin target rules# 01h,24jan02,scm go over veloce mods...# 01g,17jan02,t_m update for veloce# 01f,12sep01,scm changes to flash configuration to support larger boot# manager...# 01e,30aug01,scm adjust to reflect ixm1200...# 01d,23May01,jdg Remove makefile conditionals# 01c,06Oct00,jdg Added Big-Endian support# 01b,13Aug99,jdg changed name from vbsa1200 to ixp1200eb# 01a,13Tue99,jdg created from 01e of brutus## DESCRIPTION# This file contains rules for building VxWorks for the Intel# ixm1200 board.## This version of the Makefile is designed to work with Tornado 2.0.1## INCLUDES# makeTarget## Actually an SA-1100 CPU, but we use the SA-110 library.SI_INCLUDE = -DIXM1200BV_INCLUDE =APPL_INCLUDE =EXTRA_EXTRA_DEFINE =TOOL = gnuCPU = STRONGARMEXTRA_DEFINE = -DARMMMU=ARMMMU_SA1100 -DARMCACHE=ARMCACHE_SA1100 \ -DTOR201 \ -DMVR \ -DUSE_LEDS_FOR_DEBUG \ $(SI_INCLUDE) \ $(BV_INCLUDE) \ $(APPL_INCLUDE) \ $(EXTRA_EXTRA_DEFINE)TGT_DIR = $(WIND_BASE)/targetinclude $(TGT_DIR)/h/make/defs.bsp## Only redefine make definitions below this point, or your definitions will## be overwritten by the makefile stubs above.TARGET_DIR = ixm1200VENDOR = IntelBOARD = ixm1200RELEASE_CMD += bootromu.ful bootrom.ful bootrom_res.ful st_rom.ful## The constants ROM_TEXT_ADRS, ROM_SIZE, and RAM_HIGH_ADRS are defined# in config.h and Makefile.# The definitions for these constants must be identical except for ROM_SIZE.# (see detailed explanation in config.h)## Boot from the writable Flash Memory parts.ROM_BASE_ADRS = 08060000 # base of the writable Flash memoryROM_TEXT_ADRS = 08060000 # entry point of ROM imageROM_SIZE = 003A0000 # size of Flash - hdrsizeRAM_LOW_ADRS = 00001000 # RAM text/data addressRAM_HIGH_ADRS = 00600000 # RAM text/data addressLIB_EXTRA_EXTRA =LIB_EXTRA = $(LIB_EXTRA_EXTRA)MACH_EXTRA = vxFlashUtilMgr.o \ hpcFsFunc.o hpcFsRpc.o hpcFsDrv.obootrom.bin: bootrom - @ $(RM) $@ objcopyarm -O binary bootrom $@bootrom_res.bin: bootrom_res - @ $(RM) $@ objcopyarm -O binary bootrom_res $@bootrom_uncmp.bin: bootrom_uncmp - @ $(RM) $@ objcopyarm -O binary bootrom_uncmp $@vxWorks_rom.bin: vxWorks_rom - @ $(RM) $@ objcopyarm -O binary vxWorks_rom $@vxWorks.st_rom.bin: vxWorks.st_rom - @ $(RM) $@ objcopyarm -O binary vxWorks.st_rom $@vxWorks.res_rom_nosym.bin: vxWorks.res_rom_nosym - @ $(RM) $@ objcopyarm -O binary vxWorks.res_rom_nosym $@####################################################### BEGIN SECTION APPENDING INITIAL JUMP/SPACER CODE## (See target.txt for more information)#####################################################IBL = ibldummy.binBE_FLAG1 =BE_FLAG2 =ibldummy.o : ibldummy.s ccarm $(BE_FLAG1) -mcpu=strongarm110 -mapcs-32 -ansi -DCPU=ARMSA110 -Wcomment -P -x assembler-with-cpp -c -Wa,-a=ibldummy.lst -o ibldummy.o ibldummy.sibldummy.bin : ibldummy.o ldarm -X -N $(BE_FLAG2) -Ttext 0 -o ibldummy.tmp ibldummy.o objcopyarm -O binary --pad-to 0x60000 ibldummy.tmp ibldummy.bin# The .ful versions include the IBL at the start of memorybootrom.ful: bootrom.bin $(IBL)ifneq ($(WIND_HOST_TYPE),x86-win32) cat $(IBL) bootrom.bin > bootrom.fulelse copy /b $(IBL)+bootrom.bin bootrom.fulendifbootrom_res.ful: bootrom_res.bin $(IBL)ifneq ($(WIND_HOST_TYPE),x86-win32) cat $(IBL) bootrom_res.bin > bootrom_res.fulelse copy /b $(IBL)+bootrom_res.bin bootrom_res.fulendifbootromu.ful: bootrom_uncmp.bin $(IBL)ifneq ($(WIND_HOST_TYPE),x86-win32) cat $(IBL) bootrom_uncmp.bin > bootromu.fulelse copy /b $(IBL)+bootrom_uncmp.bin bootromu.fulendifrom.ful: vxWorks_rom.bin $(IBL)ifneq ($(WIND_HOST_TYPE),x86-win32) cat $(IBL) vxWorks_rom.bin > rom.fulelse copy /b $(IBL)+vxWorks_rom.bin rom.fulendifst_rom.ful: vxWorks.st_rom.bin $(IBL)ifneq ($(WIND_HOST_TYPE),x86-win32) cat $(IBL) vxWorks.st_rom.bin > st_rom.fulelse copy /b $(IBL)+vxWorks.st_rom.bin st_rom.fulendifvxWorks_res_rom_nosym.ful: vxWorks.res_rom_nosym.bin $(IBL)ifneq ($(WIND_HOST_TYPE),x86-win32) cat $(IBL) vxWorks.res_rom_nosym.bin > vxWorks_res_rom_nosym.fulelse copy /b $(IBL)+vxWorks.res_rom_nosym.bin vxWorks_res_rom_nosym.fulendif####################################################### END SECTION####################################################### 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 + -