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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [fs/] [jffs2/] [v2_0/] [cdl/] [jffs2.cdl] - Blame information for rev 308

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

Line No. Rev Author Line
1 27 unneback
# ====================================================================
2
#
3
#      jffs2.cdl
4
#
5
#      JFFS2 Filesystem 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):      David Woodhouse, Dominic Ostrowski
44
# Original data:  ported from JFFS2 by David Woodhouse
45
# Contributors:   dominic.ostrowski@3glab.com
46
# Date:           2000-08-28
47
#
48
#####DESCRIPTIONEND####
49
#
50
# ====================================================================
51
 
52
cdl_package CYGPKG_FS_JFFS2 {
53
    display        "JFFS2 filesystem"
54
    doc            ref/fileio.html
55
    include_dir    ""
56
 
57
    requires       CYGPKG_IO_FILEIO
58
    requires       CYGPKG_IO_FLASH
59
    requires       CYGPKG_COMPRESS_ZLIB
60
    requires       CYGINT_ISO_MALLOC
61
 
62
    requires       CYGPKG_ISOINFRA
63
    requires       CYGPKG_ERROR
64
    requires       CYGINT_ISO_ERRNO
65
    requires       CYGINT_ISO_ERRNO_CODES
66
    requires       CYGPKG_IO_FLASH_BLOCK_DEVICE
67
    requires       CYGPKG_IO_FILEIO_INODE
68
    requires       CYGPKG_LINUX_COMPAT
69
    requires       CYGPKG_CRC
70
 
71
    implements     CYGINT_IO_FILEIO_FS
72
 
73
    compile        -library=libextras.a fs-ecos.c
74
    compile        build.c scan.c malloc-ecos.c nodelist.c nodemgmt.c readinode.c erase.c dir-ecos.c write.c gc.c read.c compr.c compr_zlib.c compr_rtime.c compr_rubin.c file-ecos.c
75
 
76
    cdl_option CYGPKG_FS_JFFS2_CFLAGS_ADD {
77
        display "Additional compiler flags"
78
        flavor  data
79
        no_define
80
        # We add -D__ECOS to trigger eCos-specific code in places.
81
        # We add -Werror because I find it useful.
82
        default_value { "-D__ECOS -nostdinc -iwithprefix include -Werror" }
83
        description   "
84
            This option modifies the set of compiler flags for
85
            building the JFFS2 package.
86
            These flags are used in addition
87
            to the set of global flags."
88
        }
89
 
90
    cdl_option CYGPKG_FS_JFFS2_CFLAGS_REMOVE {
91
        display "Suppressed compiler flags"
92
        flavor  data
93
        no_define
94
        # We remove -Wpointer-arith so that some of the hacky Linux-compat code
95
        # (in file.c) compiled. We can probably remove it when that's replaced
96
        # properly.
97
        default_value { "-Wpointer-arith" }
98
        description   "
99
            This option modifies the set of compiler flags for
100
            building the JFFS2 package. These flags are removed from
101
            the set of global flags if present."
102
        }
103
 
104
    # ----------------------------------------------------------------
105
    # Tests
106
 
107
    cdl_option CYGPKG_FS_JFFS2_TESTS {
108
        display "JFFS2 FS tests"
109
        flavor  data
110
        no_define
111
        calculated { "tests/fileio1.c" }
112
            description   "
113
                This option specifies the set of tests for the JFFS2 FS package."
114
        }
115
 
116
}
117
 
118
# End of jffs2.cdl
119
 
120
 
121
 
122
 
123
 

powered by: WebSVN 2.1.0

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