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

📄 makefile

📁 au1500开发的应用程序
💻
字号:
# Makefile - make rules for target/config/V100R001CPE
#
# Copyright 2002-2004 Founder Communications,Inc. 
#
#
# modification history
# --------------------
# 01a,11mar05,fhchen  adopted from pb1500_mips32sf BSP makefile (ver 01a).
#
# DESCRIPTION
# This file contains rules for building VxWorks for the
# Founder Communications V100R001 CPE board.
#
# INCLUDES
#     makeTarget
#

## CPU is au1500

CPU		= MIPS32
TOOL		= sfgnule

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

TARGET_DIR	= V100R001CPE
VENDOR		= Founder Communications
BOARD		= V100R001 CPE Board

#EXTRA_DEFINE    += -D_WRS_MIPS_AU1500
EXTRA_DEFINE    += -DAU1500 -g -DPHY_RTL8201BL # -g to reserve debug info

LDFLAGS         += -Map $@.map
#POST_BUILD_RULE = objdumpmips -d -S $@ > $@.s 

#
# The constants ROM_TEXT_ADRS, ROM_SIZE, RAM_LOW_ADRS and
# RAM_HIGH_ADRS are defined in config.h and this Makefile.
# All definitions for these constants must be identical.
#

ROM_TEXT_ADRS	= BFC00000	# ROM entry address
ROM_SIZE	= 00100000	# number of bytes of ROM space

#
# For boot ROMS which are programmed with both the YAMON monitor 
# and VxWorks boot image, please reserve 1 MB of memory by 
# setting RAM_LOW_ADRS to 0x8010.0000.  Otherwise, for boot ROMS
# programmed with only the VxWorks boot image, reserve 64 kB of
# memory by setting RAM_LOW_ADRS to 0x8001.0000.  In either case
# be sure to also set this value in config.h. 
#

RAM_LOW_ADRS	= 80100000	# RAM text/data address
RAM_HIGH_ADRS	= 80800000	# RAM text/data address

ifeq ($(findstring le,$(TOOL)),le)
BINCONV_FLAGS	+= --reverse=4
HEX_FLAGS	+= --reverse=4
endif

MACH_EXTRA	= memPrint.o au1500Sio.o auEnd.o miiLib.o cacheAuLib.o \
		  cacheAuALib.o
BOOT_EXTRA	= cacheAuALib.o

CPU_VARIANT	= _au1xxx

# use modified version of bootConfig.c, usrConfig.c and bootInit.c

BOOTINIT	= bootInit.c
BOOTCONFIG	= bootConfig.c
USRCONFIG	= usrConfig.c

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