mirror of
https://github.com/EyeTrackVR/OpenIris.git
synced 2025-11-04 15:39:42 +08:00
fix: rename custom firmware
- remove revision and repo name from firmware naming convention
This commit is contained in:
parent
0b3950dc86
commit
728490875b
@ -105,7 +105,7 @@ def customName(project, version, commit, branch):
|
||||
s = lambda x: x.replace('"', "")
|
||||
s = lambda x: x.replace("'", "")
|
||||
|
||||
env.Replace(
|
||||
""" env.Replace(
|
||||
PROGNAME="%s-%s-%s-%s-%s"
|
||||
% (
|
||||
s(defines.get("PIO_SRC_NAM")),
|
||||
@ -114,6 +114,15 @@ def customName(project, version, commit, branch):
|
||||
s(defines.get("PIO_SRC_REV")),
|
||||
s(defines.get("PIO_SRC_BRH")),
|
||||
)
|
||||
) """
|
||||
|
||||
env.Replace(
|
||||
PROGNAME="%s-%s-%s"
|
||||
% (
|
||||
str(env["PIOENV"]),
|
||||
s(defines.get("PIO_SRC_TAG")),
|
||||
s(defines.get("PIO_SRC_BRH")),
|
||||
)
|
||||
)
|
||||
|
||||
# detect if there is a forward slash in the PROGNAME and replace it with an underscore
|
||||
|
||||
Loading…
Reference in New Issue
Block a user