Changeset 1963

Show
Ignore:
Timestamp:
03/04/11 04:40:38 (10 years ago)
Author:
jwoithe
Message:

digidesign: integrate into build system

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/SConstruct

    r1897 r1963  
    5858    BoolVariable( "ENABLE_METRIC_HALO", "Enable/Disable support for the Metric Halo platform.", False ), 
    5959    BoolVariable( "ENABLE_RME", "Enable/Disable support for the RME platform.", False ), 
     60    BoolVariable( "ENABLE_DIGIDESIGN", "Enable/Disable support for Digidesign interfaces.", False ), 
    6061    BoolVariable( "ENABLE_MAUDIO", "Enable/Disable support for the M-Audio custom BeBoB devices.", False ), 
    6162    BoolVariable( "ENABLE_BOUNCE", "Enable/Disable the BOUNCE device.", False ), 
     
    340341    env['ENABLE_METRIC_HALO'] = True 
    341342    env['ENABLE_RME'] = True 
     343    env['ENABLE_DIGIDESIGN'] = True 
    342344    env['ENABLE_BOUNCE'] = True 
    343345    env['ENABLE_MAUDIO'] = True 
  • trunk/libffado/src/SConscript

    r1888 r1963  
    189189' ) 
    190190 
     191digidesign_source = env.Split( '\ 
     192        digidesign/digidesign_avdevice.cpp \ 
     193        libstreaming/digidesign/DigidesignPort.cpp \ 
     194        libstreaming/digidesign/DigidesignPortInfo.cpp \ 
     195        libstreaming/digidesign/DigidesignReceiveStreamProcessor.cpp \ 
     196        libstreaming/digidesign/DigidesignTransmitStreamProcessor.cpp \ 
     197' ) 
     198 
    191199amdtp_source = env.Split( '\ 
    192200        libstreaming/amdtp/AmdtpPort.cpp \ 
     
    257265        libenv.MergeFlags( "-DENABLE_RME" ) 
    258266        source += rme_source 
     267if env['ENABLE_DIGIDESIGN']: 
     268        libenv.MergeFlags( "-DENABLE_DIGIDESIGN" ) 
     269        source += digidesign_source 
    259270if env['ENABLE_BOUNCE']: 
    260271        env['ENABLE_GENERICAVC'] = True