Commit eac787df authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Reduce dependencies on the VM installation

parent 3204a543
......@@ -1538,7 +1538,7 @@ def CreateDataViews(i_aadlFile, asn1Grammar, acnFile, baseASN, md5s, md5hashesFi
oldBaseACN = os.path.basename(acnFile)
if os.path.exists(oldBaseACN):
mysystem("mono \"$DMT\"/asn1scc/asn1.exe -ACND \""+baseASN+"\"")
mysystem("mono \"$ASN1SCC\" -ACND \""+baseASN+"\"")
acnFile = os.path.abspath(baseASN.replace(".asn", ".acn"))
# Now create the full (non-cropped) ASN.1 grammar, since the DataView AADL we will create below must include ALL types
......@@ -1773,7 +1773,7 @@ def DetectAdaPackages(adaSubsystems, asn1Grammar):"Detecting Ada Packages")
uniqueSetOfAdaPackages = {"adaasn1rtl": 1}
if adaSubsystems:
for l in os.popen("mono \"$DMT\"/asn1scc/asn1.exe -AdaUses \"%s\"" % asn1Grammar).readlines():
for l in os.popen("mono \"$ASN1SCC\" -AdaUses \"%s\"" % asn1Grammar).readlines():
return uniqueSetOfAdaPackages
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment