⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 嵌入式操作系统VxWorks中板级支持包文件
💻
字号:
# Makefile - makefile for template                 ## Copyright 2002 Wind River Systems, Inc.## TODO - Remove the template modification history and begin a new history#        starting with version 01a and growing the history upward with#        each revision.## modification history# --------------------# 01b,30may02,dat  Using a driver archive, not an obj module, SPR 77135# 01a,21may02,scm written.## TODO - Update documentation.## DESCRIPTION# This file contains rules for building vxWorks for the template.      ## INCLUDES#     makeTarget### TODO:##   Fill in this file with I/O addresses and related constants for the##   template BSP. Anything with "template" as a prefix needs to examined ##   and re-named to id the BSP (i.e. iq80321, iq80310, etc.) CPU              = XSCALETOOL             = gnuEXTRA_DEFINE     = -DCPU_XSCALE \                   -DARMMMU=ARMMMU_XSCALE -DARMCACHE=ARMCACHE_XSCALETGT_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.# TODO - default files are sysLib.c, sysTffs.c and tycoDrv.c. Specify here the# files to be documented bye make man. If the default files are OK, remove the# DOC_FILES variable belowDOC_FILES       =# TODO - Replace these examples with appropriate values.TARGET_DIR       = templateXSCALEVENDOR           = GenericBOARD            = Model-1 POST_BUILD_RULE  = objcopyarm -O binary $@ $@.bin# Specify the targets to be built by "make release"; after these targets are# built, the target bsp2prj is built as well.RELEASE          += bootrom.hex## 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.## Boot from EPROMROM_BASE_ADRS   = 00000000      # base address of EPROMROM_TEXT_ADRS   = 00008400      # code start addr in EPROMROM_SIZE        = 00400000      # 4M size of EPROMRAM_LOW_ADRS    = A0010000      # RAM text/data addressRAM_HIGH_ADRS   = A0200000      # RAM text/data address# TODO - Remove the following line, it is for internal WRS use only.RELEASE_PRE	= mk.templateDrvrs.a# TODO - The following is only for the template BSP, it will usually be# removed.# For template BSPs, the templateEnd driver module is in a BSP specific# archive, not the normal archive.LIB_EXTRA	= templateDrvrs.a## Only redefine make definitions above this point, or the expansion of## makefile target dependencies may be incorrect.include $(TGT_DIR)/h/make/rules.bsp# TODO - Add any additional make targets or rules below this point.# TODO - Remove this special make target.# Rather than put the template driver in the real archive, we put it here in# the template BSP.  This is not the usual way we link to a network driver.mk.templateDrvrs.a: $(TGT_DIR)/src/drv/end/templateEnd.c	$(CC) $(CFLAGS) -o templateEnd.o $(OPTION_OBJECT_ONLY) \		$(TGT_DIR)/src/drv/end/templateEnd.c	$(AR) crus templateDrvrs.a templateEnd.o	$(RM) templateEnd.o

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -