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

📄 makefile

📁 博创PXA270-S开发箱的VxWorks BSP驱动(含注释)
💻
字号:
# 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              = XSCALE
TOOL             = gnu
EXTRA_DEFINE     = -DCPU_XSCALE \
                   -DARMMMU=ARMMMU_XSCALE -DARMCACHE=ARMCACHE_XSCALE

TGT_DIR = $(WIND_BASE)/target

include $(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 below

DOC_FILES	= sysLib ns16550Sio sysDm9000End


        

# TODO - Replace these examples with appropriate values.

TARGET_DIR       = pxa270
VENDOR           = Generic
BOARD            = pxa270 

EXTRA_INCLUDE += -I${TGT_DIR}/config/${TARGET_DIR} 
USRCONFIG = usrConfig.c

POST_BUILD_RULE  = objcopyarm -O binary $@ $@.bin 
#MACH_EXTRA      = ns16550Sio.o excArchLib.o 
MACH_EXTRA      = ns16550Sio.o dm9000xEnd.o sysDm9000End.o 
# 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 EPROM
ROM_BASE_ADRS   = 00100000      # base address of EPROM
ROM_TEXT_ADRS   = 00100000      # code start addr in EPROM
ROM_SIZE        = 00400000      # 4M size of EPROM

RAM_LOW_ADRS    = A0200000      # RAM text/data address
RAM_HIGH_ADRS   = A0400000      # RAM text/data address


## 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.

⌨️ 快捷键说明

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