OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [error/] [current/] [cdl/] [error.cdl] - Blame information for rev 786

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
# ====================================================================
2
#
3
#      error.cdl
4
#
5
#      Error package configuration data
6
#
7
# ====================================================================
8
## ####ECOSGPLCOPYRIGHTBEGIN####
9
## -------------------------------------------
10
## This file is part of eCos, the Embedded Configurable Operating System.
11
## Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
12
##
13
## eCos is free software; you can redistribute it and/or modify it under
14
## the terms of the GNU General Public License as published by the Free
15
## Software Foundation; either version 2 or (at your option) any later
16
## version.
17
##
18
## eCos is distributed in the hope that it will be useful, but WITHOUT
19
## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20
## FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
21
## for more details.
22
##
23
## You should have received a copy of the GNU General Public License
24
## along with eCos; if not, write to the Free Software Foundation, Inc.,
25
## 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
26
##
27
## As a special exception, if other files instantiate templates or use
28
## macros or inline functions from this file, or you compile this file
29
## and link it with other works to produce a work based on this file,
30
## this file does not by itself cause the resulting work to be covered by
31
## the GNU General Public License. However the source code for this file
32
## must still be made available in accordance with section (3) of the GNU
33
## General Public License v2.
34
##
35
## This exception does not invalidate any other reasons why a work based
36
## on this file might be covered by the GNU General Public License.
37
## -------------------------------------------
38
## ####ECOSGPLCOPYRIGHTEND####
39
# ====================================================================
40
######DESCRIPTIONBEGIN####
41
#
42
# Author(s):      bartv,jlarmour
43
# Original data:  jlarmour
44
# Contributors:
45
# Date:           2000-04-14
46
#
47
#####DESCRIPTIONEND####
48
#
49
# ====================================================================
50
 
51
cdl_package CYGPKG_ERROR {
52
    display       "Common error code support"
53
    compile       strerror.cxx errno.cxx
54
    include_dir   cyg/error
55
    implements    CYGINT_ISO_ERRNO_CODES
56
    requires      { CYGBLD_ISO_ERRNO_CODES_HEADER == "" }
57
    description   "
58
        This package contains the common list of error and
59
        status codes. It is held centrally to allow
60
        packages to interchange error codes and status
61
        codes in a common way, rather than each package
62
        having its own conventions for error/status
63
        reporting. The error codes are modelled on the
64
        POSIX style naming e.g. EINVAL etc. This package
65
        also provides the standard strerror() function to
66
        convert error codes to textual representation, as
67
        well as an implementation of the errno idiom."
68
 
69
# ====================================================================
70
# ERRNO OPTIONS
71
 
72
    cdl_component CYGPKG_ERROR_ERRNO {
73
        display       "errno variable"
74
        flavor        bool
75
        implements    CYGINT_ISO_ERRNO
76
        requires      { CYGBLD_ISO_ERRNO_HEADER == "" }
77
        default_value 1
78
        description   "
79
            This package controls the behaviour of the
80
            errno variable (or more strictly, expression)
81
            from ."
82
 
83
        cdl_option CYGSEM_ERROR_PER_THREAD_ERRNO {
84
            display       "Per-thread errno"
85
            requires      CYGVAR_KERNEL_THREADS_DATA
86
            default_value 1
87
            description   "
88
                This option controls whether the standard error
89
                code reporting variable errno is a per-thread
90
                variable, rather than global."
91
        }
92
 
93
        cdl_option CYGNUM_ERROR_ERRNO_TRACE_LEVEL {
94
            display       "Tracing level"
95
            flavor        data
96
            legal_values  0 to 1
97
            default_value 0
98
            description   "
99
                Trace verbosity level for debugging the errno
100
                retrieval mechanism in errno.cxx. Increase this
101
                value to get additional trace output."
102
        }
103
    }
104
 
105
# ====================================================================
106
# STRERROR OPTIONS
107
 
108
    cdl_option CYGPKG_ERROR_STRERROR {
109
        display       "strerror function"
110
        flavor        bool
111
        implements    CYGINT_ISO_STRERROR
112
        requires      { CYGBLD_ISO_STRERROR_HEADER == "" }
113
        default_value 1
114
        description   "
115
            This package controls the presence and behaviour of the
116
            strerror() function from "
117
    }
118
 
119
# ====================================================================
120
# BUILD OPTIONS
121
    cdl_component CYGPKG_ERROR_OPTIONS {
122
        display "Error package build options"
123
        flavor  none
124
        no_define
125
        description   "
126
            Package specific build options including control over
127
            compiler flags used only in building this package,
128
            and details of which tests are built."
129
 
130
 
131
        cdl_option CYGPKG_ERROR_CFLAGS_ADD {
132
            display "Additional compiler flags"
133
            flavor  data
134
            no_define
135
            default_value { "" }
136
            description   "
137
                This option modifies the set of compiler flags for
138
                building the error package. These flags are used in addition
139
                to the set of global flags."
140
        }
141
 
142
        cdl_option CYGPKG_ERROR_CFLAGS_REMOVE {
143
            display "Suppressed compiler flags"
144
            flavor  data
145
            no_define
146
            default_value { "" }
147
            description   "
148
                This option modifies the set of compiler flags for
149
                building the error package. These flags are removed from
150
                the set of global flags if present."
151
        }
152
    }
153
}
154
 
155
# ====================================================================
156
# EOF error.cdl

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.