mirror of
https://github.com/arendst/Tasmota.git
synced 2025-08-01 15:07:42 +00:00
Fix compile erro by lack of map file (#12837)
This commit is contained in:
parent
7b98582d40
commit
0c30aeeebc
@ -14,6 +14,8 @@ def map_gzip(source, target, env):
|
||||
|
||||
# create string with location and file names based on variant
|
||||
bin_file = "{}map{}{}.map".format(OUTPUT_DIR, os.path.sep, variant)
|
||||
|
||||
if os.path.isfile(bin_file):
|
||||
gzip_file = "{}map{}{}.map.gz".format(OUTPUT_DIR, os.path.sep, variant)
|
||||
|
||||
# check if new target map files exist and remove if necessary
|
||||
|
Loading…
x
Reference in New Issue
Block a user