📄 makefile
字号:
# Makefile - make rules for target/config/V100R001CHB Foundercom CHB Board
#
# Copyright 2002-2005 Founder Communications,Inc.
#
# modification history
# --------------------
# 01a,20feb05,fhchen adapted from wrSbc8260Atm BSP makefile (ver 01h).
#
# DESCRIPTION
# -----------
# This file contains rules for building VxWorks for the
# Founder Communications V100R001 Channel board in BTS.
#
# TARGETS
# -------
# This section briefly lists the available build targets.
#
# INCLUDES
# --------
# makeTarget
#*/
## CPU is MPC8260a, which has a PPC603e core.
CPU = PPC603
TOOL = gnu
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 = V100R001CHB
VENDOR = Founder Communications
BOARD = V100R001 Channel Board
RELEASE += bootrom_uncmp.hex
USR_ENTRY = usrInit
## The constants ROM_TEXT_ADRS, ROM_SIZE, and RAM_HIGH_ADRS are defined
## in config.h, MakeSkel, Makefile, and Makefile.*
## All definitions for these constants must be identical.
ROM_TEXT_ADRS = FFF00100 # ROM entry address
ROM_SIZE = 00070000 # number of bytes of ROM space
RAM_LOW_ADRS = 00010000 # RAM text/data address
RAM_HIGH_ADRS = 00500000 # RAM text/data address
## Comment the following line to disable debugging
EXTRA_DEFINE = -g -DPHY_RTL8201BL
LDFLAGS += -Map $@.map
POST_BUILD_RULE = objdumpppc -d -S $@ > $@.s
MACH_EXTRA = memPrint.o m8260SccSio.o m8260SmcSio.o motFccEnd.o miiLib.o \
m82xxDpramLib.o
EXTRA_MODULES =
## Using the modified version of bootConfig.c,bootInit.c,usrConfig.c
## in BSP directory instead of those in %WIND_BASE%\target\config\all
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 + -