diff --git a/src/gallium/drivers/ethosu/gen_header.py b/src/gallium/drivers/ethosu/gen_header.py index b54516a812c..44471893594 100644 --- a/src/gallium/drivers/ethosu/gen_header.py +++ b/src/gallium/drivers/ethosu/gen_header.py @@ -29,21 +29,9 @@ def dump_c(args, guard, func): This file was generated by the rules-ng-ng gen_header.py tool in this git repository: http://gitlab.freedesktop.org/mesa/mesa/ git clone https://gitlab.freedesktop.org/mesa/mesa.git - -The rules-ng-ng source files this header was generated from are: """) - maxlen = 0 - for filepath in p.xml_files: - maxlen = max(maxlen, len(filepath)) - for filepath in p.xml_files: - pad = " " * (maxlen - len(filepath)) - filesize = str(os.path.getsize(filepath)) - filesize = " " * (7 - len(filesize)) + filesize - filetime = time.ctime(os.path.getmtime(filepath)) - print("- " + filepath + pad + " (" + filesize + " bytes, from " + filetime + ")") if p.copyright_year: current_year = str(datetime.date.today().year) - print() print("Copyright (C) %s-%s by the following authors:" % (p.copyright_year, current_year)) for author in p.authors: print("- " + author)