chore: Update paths in legacy build scripts

This commit is contained in:
Peter Feerick
2022-08-16 20:41:09 +10:00
parent e1ea57cb60
commit 6028c24f36
7 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ def build(board, translation, srcdir):
suffix = "" if index == 0 else "_%d" % index
filename = "output/firmware_%s_%s_%s%s.bin" % (board.lower(), translation.lower(), timestamp(), suffix)
if not os.path.exists(filename):
shutil.copy("%s/firmware.bin" % path, filename)
shutil.copy("%s/arm-none-eabi/firmware.bin" % path, filename)
break
index += 1
shutil.rmtree(path)
+1 -1
View File
@@ -142,7 +142,7 @@ def build(board, translation, srcdir):
suffix = "" if index == 0 else "_%d" % index
filename = "output/firmware_%s_%s_%s%s.bin" % (board.lower(), translation.lower(), timestamp(), suffix)
if not os.path.exists(filename):
shutil.copy("%s/firmware.bin" % path, filename)
shutil.copy("%s/arm-none-eabi/firmware.bin" % path, filename)
break
index += 1
shutil.rmtree(path)
+1 -1
View File
@@ -43,7 +43,7 @@ def build(board, translation, srcdir):
suffix = "" if index == 0 else "_%d" % index
filename = "output/firmware_%s_%s_%s%s.bin" % (board.lower(), translation.lower(), timestamp(), suffix)
if not os.path.exists(filename):
shutil.copy("%s/firmware.bin" % path, filename)
shutil.copy("%s/arm-none-eabi/firmware.bin" % path, filename)
break
index += 1
shutil.rmtree(path)
+1 -1
View File
@@ -35,7 +35,7 @@ def build(board, translation, srcdir):
suffix = "" if index == 0 else "_%d" % index
filename = "output/ghost_firm_%s_%s_%s%s.bin" % (board.lower(), translation.lower(), timestamp(), suffix)
if not os.path.exists(filename):
shutil.copy("%s/firmware.bin" % path, filename)
shutil.copy("%s/arm-none-eabi/firmware.bin" % path, filename)
break
index += 1
shutil.rmtree(path)
+1 -1
View File
@@ -70,7 +70,7 @@ def build(board, translation, srcdir):
suffix = "" if index == 0 else "_%d" % index
filename = "output/firmware_%s_%s_%s%s.bin" % (board.lower(), translation.lower(), timestamp(), suffix)
if not os.path.exists(filename):
shutil.copy("%s/firmware.bin" % path, filename)
shutil.copy("%s/arm-none-eabi/firmware.bin" % path, filename)
break
index += 1
shutil.rmtree(path)
+1 -1
View File
@@ -89,7 +89,7 @@ def build(board, translation, srcdir):
suffix = "" if index == 0 else "_%d" % index
filename = "output/firmware_%s_%s_%s%s.bin" % (board.lower(), translation.lower(), timestamp(), suffix)
if not os.path.exists(filename):
shutil.copy("%s/firmware.bin" % path, filename)
shutil.copy("%s/arm-none-eabi/firmware.bin" % path, filename)
break
index += 1
shutil.rmtree(path)
+1 -1
View File
@@ -35,7 +35,7 @@ def build(board, translation, srcdir):
suffix = "" if index == 0 else "_%d" % index
filename = "output/tbs_firm_%s_%s_%s%s.bin" % (board.lower(), translation.lower(), timestamp(), suffix)
if not os.path.exists(filename):
shutil.copy("%s/firmware.bin" % path, filename)
shutil.copy("%s/arm-none-eabi/firmware.bin" % path, filename)
break
index += 1
shutil.rmtree(path)