1 |
jgs |
214 |
# Scons configuration file for mmio |
2 |
jgs |
455 |
|
3 |
|
|
# |
4 |
|
|
# set appropriate defaults for configuration variables |
5 |
gross |
425 |
esysroot=str(Dir('./../..').abspath) |
6 |
|
|
execfile(str(File(esysroot+"/scons/esys_options.py"))) |
7 |
jgs |
190 |
|
8 |
|
|
libdir = Dir(str(esysroot) + '/tools/mmio/lib') |
9 |
jgs |
179 |
Export(["libdir"]) |
10 |
|
|
|
11 |
jgs |
223 |
Export(["cc"]) |
12 |
jgs |
191 |
Export(["cc_flags"]) |
13 |
jgs |
225 |
Export(["ar_flags"]) |
14 |
jgs |
191 |
|
15 |
jgs |
214 |
# |
16 |
|
|
# print out build configuration for this module |
17 |
|
|
|
18 |
|
|
print "Build configuration for module: mmio" |
19 |
gross |
425 |
print " ccflags: ", cc_flags |
20 |
jgs |
223 |
print " cc: ", cc |
21 |
jgs |
214 |
|
22 |
|
|
# |
23 |
|
|
# call the SConscript to do the actual build |
24 |
|
|
|
25 |
jgs |
179 |
SConscript('src/SConscript', src_dir='src', build_dir='obj', duplicate=0) |