env['BLT_RELAXED_ENV'] = env.Clone() 
LoadTool('gcc-generic', env['BLT_RELAXED_ENV'], gcc_cross_prefix='arm-linux', gcc_strict=False, gcc_stop_on_warning=False)  
LoadTool('gcc-generic', env, gcc_cross_prefix='arm-linux')

env['ATX_SYSTEM_SOURCES']={'System/StdC':'*.c', 'System/Bsd':'*.c', 'System/Posix':'*.c'}
env['ATX_EXTRA_LIBS']=['m']
env['NPT_SYSTEM_SOURCES']={'System/StdC':'*.cpp', 'System/Bsd':'*.cpp', 'System/Posix':'*.cpp'}
env['NPT_EXTRA_LIBS']=['pthread']
env['AP4_SYSTEM_SOURCES']={'System/StdC':'*.cpp'}
env['AP4_CPP_DEFINES']=[('AP4_PLATFORM_BYTE_ORDER','AP4_PLATFORM_BYTE_ORDER_LITTLE_ENDIAN')]
env['MLO_CPP_DEFINES'] = ['MLO_CONFIG_FIXED']
env['BLT_CPU_CONFIG_NO_FLOAT'] = True
env['BLT_PLUGINS'] = ['FileInput', 
                      'NetworkInput',
                      'MpegAudioDecoder', 
                      #'FlacDecoder',
                      'AacDecoder',
                      'StreamPacketizer', 
                      'NullOutput',
                      'FileOutput',
                      'PacketStreamer',
                      'TagParser',
                      'DebugOutput',
                      'WaveParser',
                      'AiffParser',
                      'Mp4Parser',
                      'WaveFormatter',
                      'SilenceRemover',
                      'GainControlFilter',
                      'PcmAdapter',
                      'OssOutput',
                      'VorbisDecoder']
env['BLT_PLUGINS_CDDA_DEVICE_TYPE'] = 'Linux'
env['BLT_DEFAULT_OUTPUT']           = 'oss:0'
env['BLT_PLUGINS_VORBIS_LIBRARY']   = 'Tremor'
                                    

