mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
panfrost: Update copyright year for new counter definitions
The source files generated from counter XML files should now contain a copyright corresponding to the year of generation. Signed-off-by: Lukas Zapolskas <lukas.zapolskas@arm.com>
This commit is contained in:
parent
d102217665
commit
f34b53396a
1 changed files with 4 additions and 3 deletions
|
|
@ -4,6 +4,7 @@
|
|||
import argparse
|
||||
import textwrap
|
||||
import os
|
||||
import datetime
|
||||
|
||||
import xml.etree.ElementTree as et
|
||||
|
||||
|
|
@ -87,12 +88,12 @@ def main():
|
|||
copyright = textwrap.dedent("""\
|
||||
/* Autogenerated file, DO NOT EDIT manually! generated by {}
|
||||
*
|
||||
* Copyright © 2021 Arm Limited
|
||||
* Copyright © 2021 Collabora Ltd.
|
||||
* Copyright © {year} Arm Limited
|
||||
* Copyright © {year} Collabora Ltd.
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
""").format(os.path.basename(__file__))
|
||||
""").format(os.path.basename(__file__), year=datetime.datetime.now().year)
|
||||
|
||||
h.write(copyright)
|
||||
h.write(textwrap.dedent("""\
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue