diff --git a/autobuild/synthesis/synthesis.py b/autobuild/synthesis/synthesis.py index 25e0697..ab41e38 100644 --- a/autobuild/synthesis/synthesis.py +++ b/autobuild/synthesis/synthesis.py @@ -24,8 +24,10 @@ except: QPF_TOP=os.environ["QPF_TOP"] QSYS_TOP=os.environ["QSYS_TOP"] -if "BUILD_DIR_NAME" not in os.environ : - BUILD_DIR_NAME="build" +BUILD_DIR_NAME="build" + +if "BUILD_DIR_NAME" in os.environ : + BUILD_DIR_NAME=os.environ["BUILD_DIR_NAME"] ALTERA_ROOT=os.path.join(WORKSPACE,"a/ver") os.environ["ALTERA_ROOT"]=ALTERA_ROOT