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