readme: add NXP iMX8X to supported platforms
[barrelfish] / lib / pci / Hakefile
1
2 --------------------------------------------------------------------------
3 -- Copyright (c) 2007-2010, ETH Zurich.
4 -- All rights reserved.
5 --
6 -- This file is distributed under the terms in the attached LICENSE file.
7 -- If you do not find this file, copies can be found by writing to:
8 -- ETH Zurich D-INFK, Universitaetstrasse 6, CH-8092 Zurich. Attn: Systems Group.
9 --
10 -- Hakefile for lib/pci
11 --
12 --------------------------------------------------------------------------
13
14 [
15
16   build library { target = "pci_driver_client",
17                   cFiles = [ "pci_driver_client.c" ],
18                   flounderBindings = [ "pci_driver_client" ],
19                   flounderExtraBindings = [ ("pci_driver_client", ["rpcclient"]) ],
20                   flounderExtraDefs = [  ],
21                   architectures = [ "x86_64", "armv8" ],
22                   addLibraries = libDeps [ "int_route_client" ]
23                 },
24
25   -- This is the (legacy) fully privileged interface. PCI drivers written
26   -- newstyle should use the pci_driver_client library.
27   build library { target = "pci",
28                   cFiles = [ "mem.c", "pci_client.c" ],
29                   flounderBindings = [ "pci" ],
30                   flounderExtraBindings = [ ("pci", ["rpcclient"]) ],
31                   flounderExtraDefs = [ ("monitor_blocking",["rpcclient"]) ],
32                   architectures = [ "x86_64", "armv8" ],
33                   addLibraries = libDeps [ "acpi_client", "int_route_client" ]
34                 },
35
36   -- XXX: This library is a bit weird right now.
37   -- I added this to avoid code duplication in acpi/pci because they both have to
38   -- read/write the PCI configuration space (see acpi_osglue.c).
39   -- It would be best if we can completely avoid doing any PCI stuff in ACPI
40   build library { target = "pciconfspace",
41                   flounderExtraDefs = [ ("acpi", ["rpcclient"]) ],
42                   cFiles = [ "confspace/pci_confspace.c", "confspace/pcie_confspace.c" ],
43                   architectures = [ "x86_64", "armv8" ]
44                 }
45 ]