from os import environ from os.path import join # append compilation flags #cflags = config.default.toolchain.cflags #cflags.extend(['-Wno-unknown-warning-option']) #cflags.extend(['-ggdb']) #config.default.toolchain.set("cflags", cflags) # append modules' description file paths # set the TSARPATH env variable to the path of TSAR's soclib working directory # (e.g. export TSARPATH=). Otherwise, modify hereafter the # tsarpath variable, and set the path explicitly. tsarpath = environ['TSARPATH'] config.addDescPath(join(tsarpath, "trunk/lib")) config.addDescPath(join(tsarpath, "trunk/modules")) config.addDescPath(join(tsarpath, "branches/reconfiguration/communication")) config.addDescPath(join(tsarpath, "branches/reconfiguration/modules"))