|
1 // This component and the accompanying materials are made available |
|
2 // under the terms of the License "Eclipse Public License v1.0" |
|
3 // which accompanies this distribution, and is available |
|
4 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
5 // |
|
6 // Initial Contributors: |
|
7 // lukasz.forynski@gmail.com |
|
8 // |
|
9 // Contributors: |
|
10 // |
|
11 // |
|
12 // Description: |
|
13 // omap3530/omap3530_drivers/spi/spi.mmp |
|
14 // |
|
15 |
|
16 #include <assp/omap3530_assp/assp.mmh> |
|
17 //#include "kernel/kern_ext.mmh" // this is already included from iic_channel.mmh |
|
18 // ..and probably it shouldn't be |
|
19 |
|
20 |
|
21 // Select the mode to build |
|
22 // For Master-Slave mode, uncomment both MASTER and SLAVE defines |
|
23 #define __USE_MASTER_MODE__ |
|
24 //#define __USE_SLAVE_MODE__ |
|
25 |
|
26 |
|
27 //macro STANDALONE_CHANNEL |
|
28 //#define STANDALONE_CHANNEL /*Only for iic_channel.mmh to pick up the needed source files*/ |
|
29 |
|
30 // PSL source |
|
31 SOURCEPATH . |
|
32 SOURCE psl_init.cpp |
|
33 |
|
34 #ifdef __USE_MASTER_MODE__ |
|
35 macro MASTER_MODE |
|
36 SOURCE master.cpp |
|
37 #endif |
|
38 |
|
39 #ifdef __USE_SLAVE_MODE__ |
|
40 macro SLAVE_MODE |
|
41 SOURCE slave.cpp |
|
42 #endif |
|
43 |
|
44 |
|
45 // PIL source |
|
46 #include "../../../../../os/kernelhwsrv/kernel/eka/drivers/iic/iic_channel.mmh" |
|
47 sourcepath ../../../../../os/kernelhwsrv/kernel/eka/drivers/iic/ |
|
48 source IIC_PIL_SOURCE |
|
49 |
|
50 |
|
51 TARGET AsspTarget(spi,dll) |
|
52 TARGETTYPE kext |
|
53 LINKAS spi.dll |
|
54 |
|
55 //DEFFILE ./def/~/spi.def |
|
56 NOSTRICTDEF |
|
57 |
|
58 |
|
59 USERINCLUDE . |
|
60 SYSTEMINCLUDE +\include\assp\omap3530_assp |
|
61 SYSTEMINCLUDE +\include\drivers |
|
62 SYMBIAN_BASE_SYSTEMINCLUDE(assp/omap3530_assp) |
|
63 SYMBIAN_BASE_SYSTEMINCLUDE(drivers) |
|
64 |
|
65 LIBRARY AsspTarget(kaomap3530,lib) |
|
66 LIBRARY AsspTarget(prcm,lib) |
|
67 LIBRARY AsspTarget(gpio,lib) |
|
68 |
|
69 // #ifdef USE_SYMBIAN_PRM? |
|
70 //library resman.lib |
|
71 |
|
72 EPOCALLOWDLLDATA |
|
73 |
|
74 CAPABILITY all |
|
75 |
|
76 VENDORID 0x70000001 |