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

📄 makefile

📁 cpc-1631的BSP包for VxWorks操作系统
💻
字号:
# Makefile - makefile for sandpoint sp824x
#
# Copyright 1984-2001 Wind River Systems, Inc.
#
# modification history
# --------------------
# 01p,19jul02,pcs  Specify ROM_LINK_ADRS to fix compressed images.
# 01o,16jul02,pcs  Add macros -DSP8241 & -DSP8245 to pull in the DUART
#                  support.
# 01n,01apr02,jnz  set EXTRA_DEFINES = -DSP8240 -DSP8245
# 01m,31jan02,pcs  Remove sysCacheLockLib from DOC_FILES.
# 01l,14nov01,dat  removed RELEASE
# 01k,02nov01,tpw  Standardize kernel links and bootrom conversions.
# 01j,25sep01,dat  Update for T2.2
# 01i,05jun01,pcs  ADD support for PPMC750 & PPMC755.
# 01h,24apr01,kab  Make -fvec optional off
# 01g,13apr01,mil  Added EXTRA_DEFINE for 7410 due to new L2 features
# 01f,11apr01,mil  Expanding 7400 scope to cover 7410
# 01e,28mar01,pch  Set HEX_FLAGS to empty for new GNU objcopyppc
# 01d,23mar01,pcs  Add the -fvec/-fvec_ABI option.
# 01c,15jan01,pcs  Modify to make a non-altivec release.
# 01b,12sep00,ksn  added EXTRA_DEFINE=-DSP7400, and cacheArchLib.a
# 01a,10oct99,mtl  written from SPS/Motorola & yk 750 by teamF1
#
# DESCRIPTION
# This file contains rules for building VxWorks for the template.
#
# INCLUDES
#     makeTarget
#*/

CPU              = PPC603
TOOL             = gnu

TGT_DIR = $(WIND_BASE)/target

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

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

TARGET_DIR      = sp824x
VENDOR          = Motorola
#CONFIG_ALL= ./all

#
##########################################################################
#
# By DEFAULT the BSP is compiled for PPMC8240
#
##########################################################################

BOARD           = Sandpoint Unity PPMC8240/8245
EXTRA_DEFINE    = -DSP8240 
#
##########################################################################
# uncomment the BOARD & EXTRA_DEFINE macro defined below if BSP
# is to be built for PPMC8245 & comment the previously defined macros.
##########################################################################

#BOARD           = Sandpoint Unity PPMC8245
#EXTRA_DEFINE    = -DSP8245
#
##########################################################################
# uncomment the BOARD & EXTRA_DEFINE macro defined below if BSP
# is to be built for PPMC8241 & comment the previously defined macros.
##########################################################################

#BOARD           = Sandpoint Unity PPMC8241
#EXTRA_DEFINE    = -DSP8241


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


ROM_TEXT_ADRS   = fff00100 # ROM cold entry address
ROM_WARM_ADRS   = fff00104 # ROM warm entry address
ROM_SIZE        = 00080000 # number of bytes of ROM space (512K)
RAM_LOW_ADRS    = 00100000 # RAM text/data address for vxWorks
RAM_HIGH_ADRS   = 00f00000 # RAM text/data address for bootrom
#LOCAL_MEM_SIZE  = 08000000 # 64 M memory

# ROM_LINK_ADRS defaults to ROM_TEXT_ADRS, but needs to be different
# here due to complications related to the .space 0x100 at the start
# of romInit.s.  Don't ask :)

#ROM_LINK_ADRS   = fff00000 

USR_ENTRY       = usrInit

# BOOT_EXTRA is for any additional bootrom module 
BOOT_EXTRA	= 

# MACH_EXTRA is for any additional runtime modules 
MACH_EXTRA      = i8250Sio.o   ftpdLib.o 
       #vga/winBall.o #vga/ugldemo.o #vga/winHello.o #vga/winDemo.o #vga/wexbasic.o #vga/wexjpeg.o #vga/winBasic.o #driver/test_serial.o #driver/driver.o 

#Use LIB_EXTRA to define extra driver libs to link against.
LIB_EXTRA 	= 

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

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

⌨️ 快捷键说明

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