📄 osalconfig.mk
字号:
# # @par# IXP400 SW Release version 2.4# # -- Copyright Notice --# # @par# Copyright (c) 2001-2007, Intel Corporation.# All rights reserved.# # @par# Redistribution and use in source and binary forms, with or without# modification, are permitted provided that the following conditions# are met:# 1. Redistributions of source code must retain the above copyright# notice, this list of conditions and the following disclaimer.# 2. Redistributions in binary form must reproduce the above copyright# notice, this list of conditions and the following disclaimer in the# documentation and/or other materials provided with the distribution.# 3. Neither the name of the Intel Corporation nor the names of its contributors# may be used to endorse or promote products derived from this software# without specific prior written permission.# # # @par# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF# SUCH DAMAGE.# # # @par# -- End of Copyright Notice --############################################################# This file is to be included in user build to configure# OSAL features. # # This is specific to ixp4XX/VxWorks build of OSAL only.########################################################### ############################################################ Set OSAL_SRC_PATH to the absolute path where ixp_osal/ is# locatedOSAL_SRC_PATH := $(OSAL_SRCDIR)############################################################ All defines that are valid for OSAL on Linux# Set this to enable graceful thread exitIX_OSAL_THREAD_EXIT_GRACEFULLY=1# Set this to use IOMEM module of OSALENABLE_IOMEM=1# Set this to use buffer management module of OSALENABLE_BUFFERMGT=1# Set this to use buffer management module of OSALENABLE_DDK=1############################################################ Compilation flags for using configurable features of OSAL # Set CFLAGS += $(OSAL_CFLAGS) in the including Makefile to# include the flags set hereOSAL_CFLAGS := -D__$(IX_DEVICE) ifdef IX_OSAL_THREAD_EXIT_GRACEFULLYOSAL_CFLAGS += -DIX_OSAL_THREAD_EXIT_GRACEFULLYendififdef ENABLE_IOMEMOSAL_CFLAGS += -DENABLE_IOMEMendififdef ENABLE_BUFFERMGTOSAL_CFLAGS += -DENABLE_BUFFERMGTendifOSAL_LDFLAGS := ############################################################ OSAL_INCLUDES lists all the include paths to be included# in order to use OSAL headers. This needs OSAL_SRC_PATH to be # set to the absolute path where ixp_osal is located.# Include $(OSAL_INCLUDES) to the INCLUDE_DIRS as # INCLUDE_DIRS += $(OSAL_INCLUDES) for using. # Common includesOSAL_INCLUDES := -I$(OSAL_SRC_PATH)/common/include \ -I$(OSAL_SRC_PATH)/common/include/modules \ -I$(OSAL_SRC_PATH)/common/include/modules/ddk \ -I$(OSAL_SRC_PATH)/common/os/vxworks/include/core \ -I$(OSAL_SRC_PATH)/common/os/vxworks/include/modules \ -I$(OSAL_SRC_PATH)/common/os/vxworks/include/modules/ddk \ -I$(OSAL_SRC_PATH)/platforms/ixp46X/include \ -I$(OSAL_SRC_PATH)/platforms/ixp46X/os/vxworks/include ifdef ENABLE_BUFFERMGTOSAL_INCLUDES += -I$(OSAL_SRC_PATH)/common/include/modules/bufferMgt \ -I$(OSAL_SRC_PATH)/common/os/vxworks/include/modules/bufferMgt endififdef ENABLE_IOMEMOSAL_INCLUDES += -I$(OSAL_SRC_PATH)/common/os/vxworks/include/modules/ioMem \ -I$(OSAL_SRC_PATH)/common/include/modules/ioMem endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -