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

📄 makefile.bak

📁 Embedded Planet公司的ep8260单板计算机的BSP包(VxWorks)
💻 BAK
字号:
# Makefile - makefile for bsp/config/rpx
#
# Copyright 2001 Embedded Planet, LLC.
#
# DESCRIPTION
# This file contains rules for building VxWorks for the
# Embedded Planet RPX Classic Lowfat (860/860T) CPU Board.
#
# INCLUDES
#     makeTarget
#*/

CPU	= PPCEC603
#CPU	= PPC603
TOOL	= gnu

TGT_DIR = $(WIND_BASE)/target

include $(TGT_DIR)/h/make/defs.bsp
include $(TGT_DIR)/h/make/defs.$(WIND_HOST_TYPE)
#include $(TGT_DIR)/h/make/defs.$(TOOL)
include $(TGT_DIR)/h/make/make.$(CPU)$(TOOL)

##
## Only redefine make definitions below this point, or your definitions will
## be overwritten by the makefile stubs above.


TARGET_DIR	= ep8260
VENDOR		= EmbeddedPlanet
BOARD		= RPX6

USR_ENTRY	= usrInit

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

ROM_TEXT_ADRS    = FFA00000 # ROM entry address
ROM_SIZE         = 00600000 # number of bytes of ROM space

RAM_LOW_ADRS     = 00010000 # RAM text/data address
RAM_HIGH_ADRS    = 01E00000 # RAM text/data address
##
##   hex utility parameters
##

HEX_FLAGS        = -a $(ROM_TEXT_ADRS)

##
## See Header before altering the EXTRA_DEFINE and MACH_EXTRA lines below.
##

MACH_EXTRA	= m8260FccEnd.o miiLib.o  # For the bootrom
EXTRA_MODULES   = $(BSP_DIR)\m8260FccEnd.obj $(BSP_DIR)\miiLib.obj # For the vxWorks image

##
## Debug Information
##

#ADDED_CFLAGS = -g -O0
ADDED_CFLAGS =

##
## Linker Flags
##

LDFLAGS = -X -N

## Only redefine make definitions above this point, or the expansion of 
## makefile target dependencies may be incorrect.

include $(TGT_DIR)/h/make/rules.bsp
include $(TGT_DIR)/h/make/rules.$(WIND_HOST_TYPE)

HSI_CONVERT = c:/estii/convert.exe

############################################################################
#  Rule for creating a RAM downloadable vxWorks image with a 
#  WDB Agent, over the network, with no demo program.
#  (Note, this is a standard 'vxWorks' image --- i.e. make vxWorks )
############################################################################

.PHONY : vxWorks.bdx save.vxWorks save.vxWorks.lean 

vxWorks.bdx: vxWorks
	$(HSI_CONVERT) -w vxWorks -b vxWorks.bdx -c vxWorks.ab -t ppc

⌨️ 快捷键说明

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