]> git.kernelconcepts.de Git - karo-tx-redboot.git/blob - packages/io/disk/v2_0/cdl/io_disk.cdl
Merge branch 'master' of git+ssh://git.kernelconcepts.de/karo-tx-redboot
[karo-tx-redboot.git] / packages / io / disk / v2_0 / cdl / io_disk.cdl
1 # ====================================================================
2 #
3 #      io_disk.cdl
4 #
5 #      eCos IO 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 Red Hat, Inc.
12 ## Copyright (C) 2003 eCosCentric Limited.
13 ##
14 ## eCos is free software; you can redistribute it and/or modify it under
15 ## the terms of the GNU General Public License as published by the Free
16 ## Software Foundation; either version 2 or (at your option) any later version.
17 ##
18 ## eCos is distributed in the hope that it will be useful, but WITHOUT ANY
19 ## 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 along
24 ## with eCos; if not, write to the Free Software Foundation, Inc.,
25 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
26 ##
27 ## As a special exception, if other files instantiate templates or use macros
28 ## or inline functions from this file, or you compile this file and link it
29 ## with other works to produce a work based on this file, this file does not
30 ## by itself cause the resulting work to be covered by the GNU General Public
31 ## License. However the source code for this file must still be made available
32 ## in accordance with section (3) of the GNU General Public License.
33 ##
34 ## This exception does not invalidate any other reasons why a work based on
35 ## this file might be covered by the GNU General Public License.
36 ##
37 ## Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
38 ## at http://sources.redhat.com/ecos/ecos-license/
39 ## -------------------------------------------
40 #####ECOSGPLCOPYRIGHTEND####
41 # ====================================================================
42 ######DESCRIPTIONBEGIN####
43 #
44 # Author(s):      savin
45 # Original data:  jskov, gthomas
46 # Contributors:
47 # Date:           2003-06-09
48 #
49 #####DESCRIPTIONEND####
50 #
51 # ====================================================================
52
53 cdl_package CYGPKG_IO_DISK {
54     display       "Disk device drivers"
55     active_if     CYGPKG_IO
56     requires      CYGPKG_ERROR
57     include_dir   cyg/io
58     description   "
59         This option enables drivers for basic I/O services on
60         disk devices."
61
62     compile       -library=libextras.a disk.c
63  
64     define_proc {
65         puts $::cdl_header "/***** proc output start *****/"
66         puts $::cdl_header "#include <pkgconf/system.h>"
67         puts $::cdl_header "#ifdef CYGDAT_IO_DISK_DEVICE_HEADER"
68         puts $::cdl_header "# include CYGDAT_IO_DISK_DEVICE_HEADER"
69         puts $::cdl_header "#endif "
70         puts $::cdl_header "/****** proc output end ******/"
71     }
72
73     cdl_component CYGPKG_IO_DISK_DEVICES {
74         display       "Hardware disk device drivers"
75         flavor        bool
76         default_value 1
77         description   "
78             This option enables the hardware disk drivers
79             for the current platform."
80     }
81
82     cdl_component CYGDBG_IO_DISK_DEBUG {
83         display       "Enable debugging output"
84         flavor        bool
85         default_value 0
86         description   "
87             This option enables debugging information from
88             the disk driver package."
89     }
90
91     cdl_component CYGPKG_IO_DISK_OPTIONS {
92         display "Disk device driver build options"
93         flavor  none
94         description   "
95                 Package specific build options including control over
96                 compiler flags used only in building this package,
97                 and details of which tests are built."
98
99
100         cdl_option CYGPKG_IO_DISK_CFLAGS_ADD {
101             display "Additional compiler flags"
102             flavor  data
103             no_define
104             default_value { "" }
105             description   "
106                 This option modifies the set of compiler flags for
107                 building the disk device drivers. These flags are used 
108                 in addition to the set of global flags."
109         }
110
111         cdl_option CYGPKG_IO_DISK_CFLAGS_REMOVE {
112             display "Suppressed compiler flags"
113             flavor  data
114             no_define
115             default_value { "" }
116             description   "
117                 This option modifies the set of compiler flags for
118                 building the disk device drivers. These flags are removed from
119                 the set of global flags if present."
120         }
121     }
122 }
123
124 # ====================================================================
125 # EOF io_disk.cdl