omap3530/omap3530_drivers/spi/spi.mmp
branchBeagle_BSP_dev
changeset 77 e5fd00cbb70a
child 82 65b40f262685
equal deleted inserted replaced
76:29b14275133a 77:e5fd00cbb70a
       
     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 //DEFFILE          ./def/~/spi.def
       
    55 NOSTRICTDEF
       
    56 
       
    57 
       
    58 USERINCLUDE      .
       
    59 SYSTEMINCLUDE    +\include\assp\omap3530_assp 
       
    60 SYSTEMINCLUDE 	 +\include\drivers 
       
    61 SYMBIAN_BASE_SYSTEMINCLUDE(assp/omap3530_assp)
       
    62 SYMBIAN_BASE_SYSTEMINCLUDE(drivers)
       
    63 
       
    64 LIBRARY          AsspTarget(kaomap3530,lib)
       
    65 LIBRARY          AsspTarget(prcm,lib)
       
    66 LIBRARY          AsspTarget(gpio,lib)
       
    67 
       
    68 // #ifdef USE_SYMBIAN_PRM?
       
    69 //library				resman.lib
       
    70 
       
    71 EPOCALLOWDLLDATA
       
    72 
       
    73 CAPABILITY       all
       
    74 
       
    75 VENDORID         0x70000001