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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [net/] [ns/] [dns/] [v2_0/] [cdl/] [dns.cdl] - Blame information for rev 174

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 27 unneback
# ====================================================================
2
#
3
#      dns.cdl
4
#
5
#      DNS 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 Andrew Lunn 
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):      jskov
45
# Original data:  jskov
46
# Contributors:   andrew.lunn@ascom.ch
47
# Date:           2001-09-18
48
#
49
#####DESCRIPTIONEND####
50
#
51
# ====================================================================
52
 
53
cdl_package CYGPKG_NS_DNS {
54
    display       "DNS client"
55
    include_dir   cyg/ns/dns
56
    doc           ref/net-ns-dns.html
57
 
58
    cdl_option CYGPKG_NS_DNS_BUILD {
59
        display       "Build DNS NS client package"
60
        default_value 1
61
        implements    CYGINT_ISO_DNS
62
        requires      { CYGBLD_ISO_DNS_HEADER == "" }
63
 
64
        requires      CYGPKG_NET
65
        requires      CYGINT_ISO_CTYPE
66
        requires      CYGINT_ISO_MALLOC
67
        requires      CYGINT_ISO_STRING_STRFUNCS
68
        requires      CYGSEM_KERNEL_THREADS_DESTRUCTORS_PER_THREAD
69
 
70
        compile       dns.c
71
    }
72
 
73
    cdl_component CYGPKG_NS_DNS_DEFAULT {
74
        display       "Provide a hard coded default server address"
75
        flavor        bool
76
        active_if     CYGPKG_NS_DNS_BUILD
77
        default_value 0
78
        description   "
79
            This option controls the use of a default, hard coded DNS
80
            server. When this is enabled, the IP address in the CDL
81
            option CYGDAT_NS_DNS_DEFAULT_SERVER is used in
82
            init_all_network_interfaces() to start the resolver using
83
            the specified server. The DHCP client or user code may
84
            override this by restarting the resolver."
85
 
86
        cdl_option CYGDAT_NS_DNS_DEFAULT_SERVER {
87
            display       "IP address of the default DNS server"
88
            flavor        data
89
            default_value { "192.168.1.1" }
90
        }
91
    }
92
    cdl_component CYGPKG_NS_DNS_DOMAINNAME {
93
        display       "Provide a hard coded default domain name"
94
        flavor        bool
95
        active_if     CYGPKG_NS_DNS_BUILD
96
        default_value 0
97
        description   "
98
            This option controls the use of a default, hard coded
99
            domain name to be used when querying a DNS server. When
100
            this is enabled, the name in the CDL option
101
            CYGDAT_NS_DNS_DOMAINNAME_NAME is used in
102
            init_all_network_interfaces() to set the domain name as
103
            accessed by getdomainname()."
104
 
105
        cdl_option CYGDAT_NS_DNS_DOMAINNAME_NAME {
106
            display       "Domain name for this device"
107
            flavor        data
108
            default_value { "default.domain.com" }
109
        }
110
    }
111
    cdl_component CYGPKG_NS_DNS_OPTIONS {
112
        display "DNS support build options"
113
        flavor  none
114
        no_define
115
 
116
        cdl_option CYGPKG_NS_DNS_CFLAGS_ADD {
117
            display "Additional compiler flags"
118
            flavor  data
119
            no_define
120
            default_value { "-D_KERNEL -D__ECOS" }
121
            description   "
122
                This option modifies the set of compiler flags for
123
                building the DNS package.
124
                These flags are used in addition
125
                to the set of global flags."
126
        }
127
 
128
        cdl_option CYGPKG_NS_DNS_CFLAGS_REMOVE {
129
            display "Suppressed compiler flags"
130
            flavor  data
131
            no_define
132
            default_value { "" }
133
            description   "
134
                This option modifies the set of compiler flags for
135
                building the DNS package. These flags are removed from
136
                the set of global flags if present."
137
        }
138
    }
139
 
140
    cdl_option CYGPKG_NS_DNS_TESTS {
141
        display "Networking tests"
142
        flavor  data
143
        active_if CYGPKG_NS_DNS_BUILD
144
        no_define
145
        calculated { "tests/dns1 tests/dns2" }
146
 
147
        description   "
148
            This option specifies the set of tests for the DNS package."
149
    }
150
}
151
 
152
# EOF dns.cdl

powered by: WebSVN 2.1.0

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