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

📄 error.cdl

📁 移植到WLIT项目的redboot源代码
💻 CDL
字号:
# ====================================================================##      error.cdl##      Error package configuration data## ====================================================================#####COPYRIGHTBEGIN#####                                                                          # -------------------------------------------                              # The contents of this file are subject to the Red Hat eCos Public License # Version 1.1 (the "License"); you may not use this file except in         # compliance with the License.  You may obtain a copy of the License at    # http://www.redhat.com/                                                   #                                                                          # Software distributed under the License is distributed on an "AS IS"      # basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.  See the # License for the specific language governing rights and limitations under # the License.                                                             #                                                                          # The Original Code is eCos - Embedded Configurable Operating System,      # released September 30, 1998.                                             #                                                                          # The Initial Developer of the Original Code is Red Hat.                   # Portions created by Red Hat are                                          # Copyright (C) 1998, 1999, 2000 Red Hat, Inc.                             # All Rights Reserved.                                                     # -------------------------------------------                              #                                                                          #####COPYRIGHTEND##### ====================================================================######DESCRIPTIONBEGIN###### Author(s):      bartv,jlarmour# Original data:  jlarmour# Contributors:   # Date:           2000-04-14######DESCRIPTIONEND###### ====================================================================cdl_package CYGPKG_ERROR {    display       "Common error code support"    compile       strerror.cxx errno.cxx    include_dir   cyg/error    implements    CYGINT_ISO_ERRNO_CODES    requires      { CYGBLD_ISO_ERRNO_CODES_HEADER == "<cyg/error/codes.h>" }    description   "        This package contains the common list of error and        status codes. It is held centrally to allow        packages to interchange error codes and status        codes in a common way, rather than each package        having its own conventions for error/status        reporting. The error codes are modelled on the        POSIX style naming e.g. EINVAL etc. This package        also provides the standard strerror() function to        convert error codes to textual representation, as        well as an implementation of the errno idiom."        # ====================================================================# ERRNO OPTIONS    cdl_component CYGPKG_ERROR_ERRNO {        display       "errno variable"        flavor        bool        implements    CYGINT_ISO_ERRNO        requires      { CYGBLD_ISO_ERRNO_HEADER == "<cyg/error/errno.h>" }        default_value 1        description   "            This package controls the behaviour of the            errno variable (or more strictly, expression)            from <errno.h>."        cdl_option CYGSEM_ERROR_PER_THREAD_ERRNO {            display       "Per-thread errno"            requires      CYGVAR_KERNEL_THREADS_DATA            default_value 1            description   "                This option controls whether the standard error                code reporting variable errno is a per-thread                variable, rather than global."        }        cdl_option CYGNUM_ERROR_ERRNO_TRACE_LEVEL {            display       "Tracing level"            flavor        data            legal_values  0 to 1            default_value 0            description   "                Trace verbosity level for debugging the errno                retrieval mechanism in errno.cxx. Increase this                value to get additional trace output."        }    }# ====================================================================# STRERROR OPTIONS    cdl_option CYGPKG_ERROR_STRERROR {        display       "strerror function"        flavor        bool        implements    CYGINT_ISO_STRERROR        requires      { CYGBLD_ISO_STRERROR_HEADER == "<cyg/error/strerror.h>" }        default_value 1        description   "            This package controls the presence and behaviour of the            strerror() function from <string.h>"    }# ====================================================================# BUILD OPTIONS    cdl_component CYGPKG_ERROR_OPTIONS {        display "Error package build options"        flavor  none        no_define        description   "	    Package specific build options including control over	    compiler flags used only in building this package,	    and details of which tests are built."        cdl_option CYGPKG_ERROR_CFLAGS_ADD {            display "Additional compiler flags"            flavor  data            no_define            default_value { "" }            description   "                This option modifies the set of compiler flags for                building the error package. These flags are used in addition                to the set of global flags."        }        cdl_option CYGPKG_ERROR_CFLAGS_REMOVE {            display "Suppressed compiler flags"            flavor  data            no_define            default_value { "" }            description   "                This option modifies the set of compiler flags for                building the error package. These flags are removed from                the set of global flags if present."        }    }}# ====================================================================# EOF error.cdl

⌨️ 快捷键说明

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