diff --git a/tools/python/generate_ld.py b/tools/python/generate_ld.py index 1164ad4c..3591922a 100644 --- a/tools/python/generate_ld.py +++ b/tools/python/generate_ld.py @@ -228,9 +228,7 @@ class GenerateLD: files.sort(key = lambda x: (x[2], x[3])) # Sort tuples by RAM address and prioritize src files first. return files -if os.path.exists('./dkr.ld'): - print("") -else: +if not os.path.exists('./dkr.ld') and os.path.exists('./assets/' + VERSION + '/md5.txt'): os.remove('./assets/' + VERSION + '/md5.txt') if os.path.exists('./assets/' + VERSION + '/md5.txt'):