arrakis merge: remove megaraid dependency for arm archs
[barrelfish] / lib / vfs / Hakefile
1 --------------------------------------------------------------------------
2 -- Copyright (c) 2007-2012, ETH Zurich.
3 -- All rights reserved.
4 --
5 -- This file is distributed under the terms in the attached LICENSE file.
6 -- If you do not find this file, copies can be found by writing to:
7 -- ETH Zurich D-INFK, Haldeneggsteig 4, CH-8092 Zurich. Attn: Systems Group.
8 --
9 -- Hakefile for lib/vfs
10 -- 
11 --------------------------------------------------------------------------
12
13 [ build library { target = "vfs",
14                   cFiles = [ "vfs.c", "vfs_path.c", "fopen.c", "mmap.c",
15                              "vfs_nfs.c", "vfs_ramfs.c", "cache.c",
16                              "vfs_blockdevfs.c", "vfs_blockdevfs_ahci.c",
17                              "vfs_blockdevfs_ata.c", "vfs_cache.c", "vfs_fat.c",
18                              "vfs_fat_conv.c", "fdtab.c", "vfs_fd.c",
19                              "vfs_blockdevfs_megaraid.c"
20                            ],
21                   mackerelDevices = [ "ata_identify", "fat_bpb", "fat16_ebpb",
22                                       "fat32_ebpb", "fat_direntry", "ahci_port",
23                                       "ahci_hba"
24                                     ],
25                   flounderBindings = [ "trivfs", "bcache", "ahci_mgmt", "ata_rw28" ],
26                   flounderExtraBindings = [ ("trivfs", ["rpcclient"]),
27                                             ("bcache", ["rpcclient"]),
28                                             ("ahci_mgmt", ["rpcclient"]),
29                                             ("ata_rw28", ["ahci", "rpcclient"])
30                                           ],
31                   flounderDefs = [ "monitor" ]
32                 },
33   build library { target = "vfs_nonfs",
34                   cFiles = [ "vfs.c", "vfs_path.c", "fopen.c", "vfs_ramfs.c",
35                              "cache.c", "vfs_blockdevfs.c",
36                              "vfs_blockdevfs_ahci.c", "vfs_blockdevfs_ata.c",
37                              "vfs_cache.c", "vfs_fat.c", "vfs_fat_conv.c",
38                              "fdtab.c", "vfs_fd.c", "vfs_blockdevfs_megaraid.c"
39                            ],
40                   addCFlags = [ "-DDISABLE_NFS" ],
41                   mackerelDevices = [ "ata_identify", "fat_bpb", "fat16_ebpb",
42                                       "fat32_ebpb", "fat_direntry", "ahci_port",
43                                       "ahci_hba"
44                                     ],
45                   flounderBindings = [ "trivfs", "bcache", "ahci_mgmt" ],
46                   flounderExtraBindings = [ ("trivfs", ["rpcclient"]),
47                                             ("bcache", ["rpcclient"]),
48                                             ("ahci_mgmt", ["rpcclient"]),
49                                             ("ata_rw28", ["ahci", "rpcclient"])
50                                           ],
51                   flounderDefs = [ "monitor" ]
52                 },
53   build library { target = "vfs_ramfs",
54                   cFiles = [ "vfs.c", "vfs_path.c", "fopen.c", "vfs_ramfs.c",
55                              "cache.c", "vfs_cache.c", "fdtab.c", "vfs_fd.c"
56                            ],
57                   addCFlags = [ "-DDISABLE_NFS", "-DDISABLE_BLOCKDEV" ],
58                   flounderBindings = [ "trivfs", "bcache" ],
59                   flounderExtraBindings = [ ("trivfs", ["rpcclient"]),
60                                             ("bcache", ["rpcclient"])
61                                           ],
62                   flounderDefs = [ "monitor" ]
63                 }
64 ]