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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [hal/] [sparc/] [arch/] [v2_0/] [cdl/] [hal_sparc.cdl] - Blame information for rev 530

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 27 unneback
# ====================================================================
2
#
3
#      hal_sparc.cdl
4
#
5
#      SPARC architectural HAL package 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
##
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 Red Hat, Inc.
37
## at http://sources.redhat.com/ecos/ecos-license/
38
## -------------------------------------------
39
#####ECOSGPLCOPYRIGHTEND####
40
# ====================================================================
41
######DESCRIPTIONBEGIN####
42
#
43
# Author(s):      jskov
44
# Original data:  hmt
45
# Contributors:
46
# Date:           1999-11-01, 2002-03-08
47
#
48
#####DESCRIPTIONEND####
49
#
50
# ====================================================================
51
 
52
cdl_package CYGPKG_HAL_SPARC {
53
    display "SPARC architecture"
54
    parent        CYGPKG_HAL
55
    hardware
56
    include_dir   cyg/hal
57
    define_header hal_sparc.h
58
    description   "
59
        The SPARC architecture HAL package provides generic support
60
        for this processor architecture. It is also necessary to select
61
        a specific target platform HAL package."
62
 
63
    compile       vectors.S vec_ivsr.S vec_xvsr.S context.S icontext.c
64
    compile       hal_intr.c hal_boot.c
65
 
66
    make {
67
        /lib/vectors.o : /src/vectors.S
68
        $(CC) -Wp,-MD,vectors.tmp $(INCLUDE_PATH) $(CFLAGS) -c -o $@ $<
69
        @echo $@ ": \\" > $(notdir $@).deps
70
        @tail +2 vectors.tmp >> $(notdir $@).deps
71
        @echo >> $(notdir $@).deps
72
        @rm vectors.tmp
73
    }
74
 
75
    make {
76
        /lib/target.ld: /src/sparc.ld
77
        $(CC) -E -P -Wp,-MD,target.tmp -DEXTRAS=1 -xc $(INCLUDE_PATH) $(CFLAGS) -o $@ $<
78
        @echo $@ ": \\" > $(notdir $@).deps
79
        @tail +2 target.tmp >> $(notdir $@).deps
80
        @echo >> $(notdir $@).deps
81
        @rm target.tmp
82
    }
83
 
84
    cdl_component CYGPKG_HAL_SPARC_OPTIONS {
85
        display "SPARC build options"
86
        flavor  none
87
        description   "
88
            Package specific build options including control over
89
            compiler flags used only in building this package,
90
            and details of which tests are built."
91
 
92
 
93
        cdl_option CYGPKG_HAL_SPARC_CFLAGS_ADD {
94
            display "Additional compiler flags"
95
            flavor  data
96
            no_define
97
            default_value { "" }
98
            description   "
99
                This option modifies the set of compiler flags for
100
                building the SPARC HAL. These flags are used in addition
101
                to the set of global flags."
102
        }
103
 
104
        cdl_option CYGPKG_HAL_SPARC_CFLAGS_REMOVE {
105
            display "Suppressed compiler flags"
106
            flavor  data
107
            no_define
108
            default_value { "" }
109
            description   "
110
                This option modifies the set of compiler flags for
111
                building the SPARC HAL. These flags are removed from
112
                the set of global flags if present."
113
        }
114
 
115
        cdl_option CYGPKG_HAL_SPARC_TESTS {
116
            display "SPARC tests"
117
            flavor  data
118
            no_define
119
            calculated { "tests/sparc_ex" }
120
            description   "
121
                This option specifies the set of tests for the SPARC HAL."
122
        }
123
    }
124
 
125
    cdl_option CYGBLD_LINKER_SCRIPT {
126
        display "Linker script"
127
        flavor data
128
        no_define
129
        calculated  { "src/sparc.ld" }
130
    }
131
}

powered by: WebSVN 2.1.0

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