📄 vxworks.mak
字号:
#************************************************************************
#Filename : vxworks.mak
#Description: VxWorks definitions
#************************************************************************
# Copyright (c) 2001 RADVISION Inc. and RADVISION Ltd.
#************************************************************************
#NOTICE:
#This document contains information that is confidential and proprietary
#to RADVISION Inc. and RADVISION Ltd.. No part of this document may be
#reproduced in any form whatsoever without written prior approval by
#RADVISION Inc. or RADVISION Ltd..
#
#RADVISION Inc. and RADVISION Ltd. reserve the right to revise this
#publication and make changes without obligation to notify any person of
#such revisions or changes.
#************************************************************************
# Note: WIND_BASE must be set correctly in the environment.
# Check for required definitions
ifndef WIND_BASE
$(error WIND_BASE is not defined. It must be set to the Tornado root directory)
endif
# Set legal values for TARGET_OS_VERSION
LEGAL_TARGET_OS_VERSION:= 2.0 2.1 2.2
# Set up rvbuildconfig.h definitions for TARGET_OS and TARGET_OS_VERSION
# to map to rvosdefs.h
TARGET_OS_LINE:= "RV_OS_TYPE_VXWORKS"
ifeq ($(TARGET_OS_VERSION), 2.0)
TARGET_OS_VERSION_LINE:= "RV_OS_VXWORKS_2_0"
endif
ifeq ($(TARGET_OS_VERSION), 2.1)
TARGET_OS_VERSION_LINE:= "RV_OS_VXWORKS_2_1"
endif
ifeq ($(TARGET_OS_VERSION), 2.2)
TARGET_OS_VERSION_LINE:= "RV_OS_VXWORKS_2_2"
endif
# Add required info to master lists
# MAKE_LIST - List any OS dependent makefiles (inclduing this one)
# INCLUDE_DIRS - List any OS dependent include directories in search order
# LIBS_LIST - List any OS dependent libraries needed to link executables
MAKE_LIST +=
INCLUDE_DIRS += $(WIND_BASE)/target/h
LIB_DIRS += $(WIND_BASE)/target/lib
LIBS_LIST +=
# Indicate if executable targets can be built for this OS via these makefiles
# Set to yes if they can be built, no if they can't.
OS_BUILD_EXECUTABLE := no
# Extension to target name for executable (ie .exe for Windows)
EXECUTE_EXTENSION :=
# Create a single Object instead of an archive, for each module.
ifeq ($(TARGET_OS_VERSION), 2.2)
CREATE_SINGLE_OBJECT := no
else
CREATE_SINGLE_OBJECT := yes
endif
# Add any VxWorks specific libraries, that are necessary for the BSP.
OS_LIBS :=
# For partial-memory info ability ('memPartInfoGet()').
# Created by the following command '\:>arppc x libppc603gnuvx.a memShow.o'
# under 'D:\Tornado\target\lib', and copied to root directory.
# alternatively, link it instead with 'D:\Tornado\target\lib\libPPC603gnuvx.a'
OS_LIBS += memShow.o
# For 64bit arithmetics support
# copied from 'D:\Tornado\host\x86-win32\lib\gcc-lib\powerpc-wrs-vxworks\cygnus-2.7.2-960126'
OS_LIBS += libgcc.a
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -