]> git.kernelconcepts.de Git - karo-tx-redboot.git/blob - packages/devs/eth/synth/ecosynth/v2_0/cdl/syntheth.cdl
Initial revision
[karo-tx-redboot.git] / packages / devs / eth / synth / ecosynth / v2_0 / cdl / syntheth.cdl
1 # ====================================================================
2 #
3 #      syntheth.cdl
4 #
5 #      Synthetic target ethernet package.
6 #
7 # ====================================================================
8 #####ECOSGPLCOPYRIGHTBEGIN####
9 ## -------------------------------------------
10 ## This file is part of eCos, the Embedded Configurable Operating System.
11 ## Copyright (C) 2002, 2003 Bart Veer
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 version.
16 ##
17 ## eCos is distributed in the hope that it will be useful, but WITHOUT ANY
18 ## WARRANTY; without even the implied warranty of MERCHANTABILITY or
19 ## FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
20 ## for more details.
21 ##
22 ## You should have received a copy of the GNU General Public License along
23 ## with eCos; if not, write to the Free Software Foundation, Inc.,
24 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
25 ##
26 ## As a special exception, if other files instantiate templates or use macros
27 ## or inline functions from this file, or you compile this file and link it
28 ## with other works to produce a work based on this file, this file does not
29 ## by itself cause the resulting work to be covered by the GNU General Public
30 ## License. However the source code for this file must still be made available
31 ## in accordance with section (3) of the GNU General Public License.
32 ##
33 ## This exception does not invalidate any other reasons why a work based on
34 ## this file might be covered by the GNU General Public License.
35 ##
36 ## Alternative licenses for eCos may be arranged by contacting the
37 ## copyright holder(s).
38 ## -------------------------------------------
39 #####ECOSGPLCOPYRIGHTEND####
40 # ====================================================================
41 ######DESCRIPTIONBEGIN####
42 #
43 # Author(s):      bartv
44 # Original data:  bartv
45 # Contributors:
46 # Date:           2002-08-07
47 #
48 #####DESCRIPTIONEND####
49 # ====================================================================
50
51 cdl_package CYGPKG_DEVS_ETH_ECOSYNTH {
52     display     "Synthetic target ethernet driver"
53     description "
54         The ethernet driver for the eCos synthetic target allows applications
55         and other packages such as a TCP/IP stack to perform ethernet I/O.
56         This can involve either an unused ethernet device, or an emulated
57         ethernet device as provided by the Linux kernel's tunnel/tap
58         support. The eCos code interacts with a suitable Linux application
59         through the I/O auxiliary. Up to four ethernet devices are
60         supported, and the host-side target definition file controls how
61         each device will perform its I/O."
62     doc         ref/devs-eth-synth-ecosynth.html
63     
64     parent      CYGPKG_IO_ETH_DRIVERS
65     active_if   CYGPKG_IO_ETH_DRIVERS
66     active_if   CYGPKG_HAL_SYNTH
67     implements  CYGINT_IO_ETH_MULTICAST
68
69     cdl_option CYGVAR_DEVS_ETH_ECOSYNTH_ETH0 {
70         display         "Provide eth0 device"
71         description     "
72             The synthetic target can provide up to four ethernet devices,
73             eth0 to eth3. By default eth0 is enabled when a TCP/IP stack
74             is part of the configuration, disabled otherwise."
75         default_value   CYGPKG_NET_STACK
76         implements      CYGHWR_NET_DRIVERS
77         implements      CYGHWR_NET_DRIVER_ETH0
78     }
79     
80     cdl_option CYGVAR_DEVS_ETH_ECOSYNTH_ETH1 {
81         display        "Provide eth1 device"
82         description     "
83             The synthetic target can provide up to four ethernet devices,
84             eth0 to eth3. By default eth1 is always disabled, but can
85             be enabled if the eCos application needs more than one ethernet
86             device."
87         default_value 0
88         implements      CYGHWR_NET_DRIVERS
89         implements      CYGHWR_NET_DRIVER_ETH1
90     }
91
92     cdl_option CYGVAR_DEVS_ETH_ECOSYNTH_ETH2 {
93         display        "Provide eth2 device"
94         description     "
95             The synthetic target can provide up to four ethernet devices,
96             eth0 to eth3. By default eth2 is always disabled, but can
97             be enabled if the eCos application needs more than two ethernet
98             devices."
99         default_value 0
100         implements      CYGHWR_NET_DRIVERS
101     }
102
103     cdl_option CYGVAR_DEVS_ETH_ECOSYNTH_ETH3 {
104         display        "Provide eth3 device"
105         description     "
106             The synthetic target can provide up to four ethernet devices,
107             eth0 to eth3. By default eth3 is always disabled, but can
108             be enabled if the eCos application needs more than three ethernet
109             devices."
110         default_value 0
111         implements      CYGHWR_NET_DRIVERS
112     }
113
114     cdl_component CYGPKG_DEVS_ETH_ECOSYNTH_OPTIONS {
115         display     "Build options"
116         active_if   { CYGVAR_DEVS_ETH_ECOSYNTH_ETH0 || CYGVAR_DEVS_ETH_ECOSYNTH_ETH1 || CYGVAR_DEVS_ETH_ECOSYNTH_ETH2 || CYGVAR_DEVS_ETH_ECOSYNTH_ETH3 }
117         flavor      none
118         compile     -library=libextras.a syntheth.c
119         requires    CYGINT_ISO_ERRNO_CODES CYGINT_ISO_STRING_MEMFUNCS
120         description "
121             Package-specific build options including control over compiler
122             flags used only in building this package."
123
124         cdl_option CYGPKG_DEVS_ETH_ECOSYNTH_CFLAGS_ADD {
125             display "Additional compiler flags"
126             flavor  data
127             no_define
128             default_value { "-D_KERNEL -D__ECOS" }
129             description   "
130                 This option modifies the set of compiler flags for
131                 building this package. These flags are used in addition
132                 to the set of global flags."
133         }
134         cdl_option CYGPKG_DEVS_ETH_ECOSYNTH_CFLAGS_REMOVE {
135             display "Suppressed compiler flags"
136             flavor  data
137             no_define
138             default_value { "" }
139             description   "
140                 This option modifies the set of compiler flags for
141                 building this package. These flags are removed from
142                 the set of global flags if present."
143         }
144     }
145 }
146
147 # EOF syntheth.cdl