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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
# ====================================================================
2
#
3
#      ustl.cdl
4
#
5
#      uSTL - "Size-optimized STL" library package configuration data
6
#
7
# ====================================================================
8
## ####ECOSGPLCOPYRIGHTBEGIN####
9
## -------------------------------------------
10
## This file is part of eCos, the Embedded Configurable Operating System.
11
## Copyright (C) 2009 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):      Uwe Kindler
43
# Contributors:
44
# Date:           2009-07-28
45
#
46
#####DESCRIPTIONEND####
47
#
48
# ====================================================================
49
 
50
 
51
cdl_package CYGPKG_USTL {
52
    display       "uSTL library"
53
    doc           ref/ustl.html
54
    description   "
55
        This package provides the uSTL library. uSTL is a
56
        partial implementation of the STL specification intended to
57
        reduce code size of the derivative programs. This allows the
58
        user application to use well known standard C++ STL library
59
        containers, streams, iterators, algorithms and functors."
60
    requires CYGPKG_IO
61
    requires CYGPKG_ERROR
62
    requires CYGPKG_ISOINFRA
63
    requires CYGPKG_LIBM
64
 
65
    # malloc
66
    requires CYGINT_ISO_MALLOC
67
 
68
    # stdio
69
    requires CYGINT_ISO_STDIO_FORMATTED_IO
70
    requires CYGINT_ISO_STDIO_CHAR_IO
71
    requires CYGINT_ISO_STDIO_DIRECT_IO
72
    requires CYGINT_ISO_STDIO_ERROR
73
 
74
    # signals
75
    requires CYGINT_ISO_SIGNAL_NUMBERS
76
    requires CYGINT_ISO_SIGNAL_IMPL
77
 
78
    # time
79
    requires CYGINT_ISO_C_TIME_TYPES
80
 
81
    # startup
82
    requires CYGINT_ISO_EXIT
83
    requires CYGINT_ISO_MAIN_STARTUP
84
    requires CYGINT_ISO_ENVIRON
85
 
86
    #string
87
    requires CYGINT_ISO_STRTOK_R
88
    requires CYGINT_ISO_STRING_LOCALE_FUNCS
89
    requires CYGINT_ISO_STRING_MEMFUNCS
90
    requires CYGINT_ISO_STRING_STRFUNCS
91
 
92
    # common
93
    requires CYGINT_ISO_CTYPE
94
    requires CYGINT_ISO_ERRNO_CODES
95
    requires CYGINT_ISO_ERRNO
96
    requires CYGINT_ISO_LOCALE
97
    requires CYGIMP_LIBC_STDIO_C99_SNPRINTF
98
 
99
    compile bktrace.cpp     \
100
            cmemlink.cpp    \
101
            memblock.cpp    \
102
            memlink.cpp     \
103
            ualgobase.cpp   \
104
            ubitset.cpp     \
105
            uexception.cpp  \
106
            unew.cpp        \
107
            ustdxept.cpp    \
108
            ustring.cpp     \
109
            ustlecos.cpp    \
110
            mistream.cpp    \
111
            sistream.cpp    \
112
            sostream.cpp
113
 
114
    cdl_component CYGCLS_USTL_FSTREAMS {
115
        display "File streams support"
116
        flavor  bool
117
        default_value CYGPKG_IO_FILEIO
118
        description   "
119
            This option enables file stream support. For file stream
120
            support the File I/O package is required."
121
        requires CYGPKG_IO_FILEIO
122
                requires CYGINT_ISO_STDIO_FILETYPES
123
        requires CYGINT_ISO_STDIO_FILEACCESS
124
        requires CYGINT_ISO_STDIO_FILEPOS
125
                requires CYGINT_ISO_STDIO_STREAMS
126
        compile fstream.cpp     \
127
                ofstream.cpp
128
 
129
        cdl_option CYGVAR_USTL_CIN_COUT_CERR {
130
            display "cin, cout & cerr support"
131
            flavor  bool
132
            default_value 1
133
            description "
134
                Enable this option if you want the standard streams
135
                cin, cout and cerr to be included. You will not be able
136
                to run bvt tests if you don't enable this option."
137
        }
138
    }
139
 
140
    cdl_option CYGSEM_USTL_STREAM_BOUNDS_CHECK {
141
        display "Stream bounds checking"
142
        flavor  bool
143
        default_value 0
144
        description "
145
            Enable this option if you want stream operations to throw
146
            exceptions on insufficient data or insufficient space.
147
            All these errors should be preventable in output code;
148
            the input code should verify the data in a separate step.
149
            It slows down stream operations a lot, but it's your call.
150
            Debug builds always throws exceptions - this option is
151
            only valid for release builds."
152
    }
153
 
154
    cdl_component CYGPKG_USTL_OPTIONS {
155
        display "uSTL library build options"
156
        flavor  none
157
        no_define
158
        description   "
159
            Package specific build options including control over
160
            compiler flags used only in building this package,
161
            and details of which tests are built."
162
 
163
 
164
        cdl_option CYGPKG_USTL_CFLAGS_ADD {
165
            display "Additional compiler flags"
166
            flavor  data
167
            no_define
168
            default_value { "-I$(PREFIX)/include/ustl" }
169
            description   "
170
                This option modifies the set of compiler flags for
171
                building the uSTL library. These flags are used in addition
172
                to the set of global flags."
173
        }
174
 
175
        cdl_option CYGPKG_USTL_CFLAGS_REMOVE {
176
            display "Suppressed compiler flags"
177
            flavor  data
178
            no_define
179
            default_value { "-Wundef" }
180
            description   "
181
                This option modifies the set of compiler flags for
182
                building the uSTL library. These flags are removed from
183
                the set of global flags if present."
184
        }
185
 
186
        cdl_option CYGPKG_USTL_TESTS {
187
            display "uSTL tests"
188
            flavor  data
189
            no_define
190
            calculated { (CYGVAR_USTL_CIN_COUT_CERR ? "tests/bvt00 tests/bvt01 tests/bvt02 tests/bvt03 tests/bvt04 tests/bvt05 tests/bvt06 tests/bvt07 tests/bvt08 tests/bvt09 tests/bvt10 tests/bvt11 tests/bvt12 tests/bvt13 tests/bvt14 tests/bvt15 tests/bvt16 tests/bvt17 tests/bvt18 tests/bvt19 tests/bvt20 tests/bvt21 tests/bvt22 tests/bvt23 tests/bvt24 tests/bvt25 tests/bvt26 tests/bvt27" : "" )}
191
            description   "
192
                This option specifies the set of tests for the uSTL library."
193
        }
194
    }
195
}
196
 
197
# ====================================================================
198
# EOF ustl.cdl

powered by: WebSVN 2.1.0

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