root/trunk/libffado/support/firmware/SConscript

Revision 688, 0.8 kB (checked in by ppalmers, 16 years ago)

- Remove bebob sync tool, since this is now generalized into the FFADODevice API.

the sync source can be set with tests/test-ffado

- introduce a new directory for firmware tools: support/firmware
- Move the bridgeco firmware downloader to the support/firmware directory
- initial code for echo firmware downloading

Line 
1 #! /usr/bin/env python
2
3 Import( 'env' )
4
5 env = env.Copy()
6
7 #
8 # For the debugging apps
9 #
10 env.PrependUnique( LIBPATH=env['build_base']+"src" )
11 env.PrependUnique( LIBS="ffado" )
12 env.AppendUnique( CPPPATH=["#/", "#/src"] )
13
14 if not env.GetOption( "clean" ):
15     env.MergeFlags( "-lrt" )
16     env.MergeFlags( env['LIBRAW1394_FLAGS'] )
17     env.MergeFlags( env['LIBAVC1394_FLAGS'] )
18     env.MergeFlags( env['LIBIEC61883_FLAGS'] )
19     env.MergeFlags( env['ALSA_FLAGS'] )
20     env.MergeFlags( env['LIBXML26_FLAGS'] )
21     env.MergeFlags( env['LIBLO_FLAGS'] )
22
23 apps = {
24 }
25
26 installapps = []
27
28 if env['ENABLE_BEBOB']:
29     apps["bridgeco-downloader"] = "bridgeco-downloader.cpp"
30     installapps += [ "bridgeco-downloader" ]
31
32
33 for app in apps.keys():
34     env.Program( target=app, source = env.Split( apps[app] ) )
35     if app.find( "test" ) == -1:
36         env.Install( "$bindir", app )
Note: See TracBrowser for help on using the browser.