Commit SDMA driver changes.
[barrelfish] / usr / drivers / omap44xx / sdma / Hakefile
1 --------------------------------------------------------------------------
2 -- Copyright (c) 2007-2014, 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, CAB F.78, Universitaetstr 6, CH-8092 Zurich.
8 --
9 -- Hakefile for omap44xx sdma driver
10 --
11 --------------------------------------------------------------------------
12
13 [
14     build library { target = "sdma_module",
15                     cFiles = ["main.c", "omap_sdma.c", "service.c"],
16                     mackerelDevices = [ "omap/omap44xx_sdma" ],
17
18                     flounderDefs = [ "omap_sdma" ],
19                     flounderBindings = [ "omap_sdma" ],
20                     flounderTHCStubs = [ "omap_sdma" ],
21
22                     addLibraries = ["driverkit", "thc"],
23                     architectures = ["armv7"]
24     },
25
26     build application {
27         target = "sdma",
28         cFiles = [ "sdma_domain.c"],
29         addModules = ["sdma_module"],
30         addLinkFlags = ["-T" ++ Config.source_dir ++ "/lib/driverkit/bfdrivers.ld" ]
31     }
32 ]