build.py: Add support for environment variable BUILD_EXCLUDE to build.py (presumably buggy)

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2014-07-08 18:23:46 +00:00
commit 0f81fcdddf

View file

@ -99,6 +99,11 @@ exclude=args.exclude
target=args.target
modules=args.modules
env_exclude=os.getenv('BUILD_EXCLUDE', '')
if len(env_exclude):
print "exluding modules from environment: " + env_exclude
exclude += " " + env_exclude
# -- build
print "calculating order for modules: " + ' '.join(modules)
order = []