]> git.karo-electronics.de Git - karo-tx-redboot.git/blob - packages/io/disk/v2_0/cdl/io_disk.cdl
182d1ab150e211c0f68a697abc3810ebb98993dd
[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 Savin Zlobec 
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 CYGPKG_IO_DISK_OPTIONS {
83         display "Disk device driver build options"
84         flavor  none
85         description   "
86                 Package specific build options including control over
87                 compiler flags used only in building this package,
88                 and details of which tests are built."
89
90
91         cdl_option CYGPKG_IO_DISK_CFLAGS_ADD {
92             display "Additional compiler flags"
93             flavor  data
94             no_define
95             default_value { "" }
96             description   "
97                 This option modifies the set of compiler flags for
98                 building the disk device drivers. These flags are used 
99                 in addition to the set of global flags."
100         }
101
102         cdl_option CYGPKG_IO_DISK_CFLAGS_REMOVE {
103             display "Suppressed compiler flags"
104             flavor  data
105             no_define
106             default_value { "" }
107             description   "
108                 This option modifies the set of compiler flags for
109                 building the disk device drivers. These flags are removed from
110                 the set of global flags if present."
111         }
112     }
113 }
114
115 # ====================================================================
116 # EOF io_disk.cdl