Commit Graph

9 Commits

Author SHA1 Message Date
elelel
be34e323e5 Fix indexing into an empty array
Signed-off-by: elelel <elelel@3wh.net>
2021-10-18 18:10:59 +11:00
Alexander Fasching
560f215489 tools: Fix regex for ignore pattern (#535)
Signed-off-by: Alexander Fasching <fasching.a91@gmail.com>
2021-09-03 12:54:17 +10:00
Gerwin Klein
79da079239 Convert license tags to SPDX identifiers
This commit also converts our own copyright headers to directly use
SPDX, but leaves all other copyright header intact, only adding the
SPDX ident. As far as possible this commit also merges multiple
Data61 copyright statements/headers into one for consistency.
2020-03-09 13:21:49 +08:00
Anna Lyons
bc61a7f3bd python2 --> python3
Update all scripts and build system to call python3, given python2's
upcoming doom. Use sys.maxsize instead of sys.maxint in one script
(maxint does not exist in python3).
2019-08-08 10:19:24 +10:00
Anna Lyons
cf57914c7f style: run autopep8 on python files 2019-03-27 10:43:58 +11:00
Adam Felizzi
2bf255c8a3 tools: Ignore option for circular_includes script
Added an "ignore" argument to the circular_includes script. This
allows the caller to specify files for the script to ignore when
it parses the source file. Rather than creating a special
ignore case for "kernel_all.c" in the script itself, the user
parses the file as an argument (plus others if needed). Updated
the kernels cmake file to reflect the change.
2018-08-27 10:18:10 +10:00
Anna Lyons
64cf2308ac tools: fix licenses 2017-06-22 15:27:30 +10:00
Adrian Danis
3679b88309 tools: Make circular_includes check more robust
Allows for an arbitrary path to be applied to kernel_all.c in case the build is not
happening in the current working directory
2017-06-01 14:22:56 +10:00
Stephen Sherratt
71d02cbf4c Replace circular includes perl script with python 2016-10-24 10:53:36 +11:00