summaryrefslogtreecommitdiff
path: root/python/makefile.py
AgeCommit message (Collapse)Author
2024-11-18tools: Fix syntax raw parsing for make-foobar helperDonatas Abraitis
96 38.93 config.status: creating Makefile 96 39.48 /src/python/makefile.py:55: SyntaxWarning: invalid escape sequence '\s' 96 39.48 "^#\s*include.*_clippy.c", Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-07-23build: fix a few python string escape warningsDavid Lamparter
When using a regex (or anything that uses `\?` escapes) in python, raw strings (`r"content"`) should be used so python doesn't consume the escapes itself. Otherwise we get either broken behavior and/or `SyntaxWarning: invalid escape sequence '\['` Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2022-10-28python: apply black formattingDavid Lamparter
The python/ directory hasn't been shoved into black yet (unlike topotests, where most FRR python code is.) Run black over it. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2022-10-26build: exclude a few more things from frr.xrefDavid Lamparter
... this might need some better approach long-term. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2022-10-06build: don't include vtysh.xref in frr.xrefDavid Lamparter
vtysh.xref only contains a rather-useless duplicate of every single CLI command incorporated into vtysh... and including it prevents frr.xref from becoming the source for vtysh_cmd.c. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2022-05-26build: reformat makefile.pyDavid Lamparter
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2022-05-26build: add a bunch of comments to makefile.pyDavid Lamparter
... to (maybe?) make understandable what it's doing. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2022-05-26build: fix LLVM bitcode per-target CFLAGSDavid Lamparter
When automake decides to customize CFLAGS, use those for building LLVM bitcode files too. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2021-02-23build: extract xrefsDavid Lamparter
Signed-off-by: David Lamparter <equinox@diac24.net>
2020-10-07*: reformat python fileswhitespace
We are now using black. Signed-off-by: Quentin Young <qlyoung@nvidia.com>
2020-07-17build: fix Makefile rule redefinitionDavid Lamparter
Signed-off-by: David Lamparter <equinox@diac24.net>
2020-05-05build: add LLVM bitcode targetsDavid Lamparter
Just an easy way to produce LLVM .bc (bitcode) files. Not used during normal builds. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2020-05-05build: rework Makefile var extraction... againDavid Lamparter
*sigh* I can't seem to catch a break on this. Add a regex variant. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2020-04-27build: make clippy Makefile rules nicerDavid Lamparter
These are easy to get subtly wrong, and doing so can cause nondeterministic failures when racing in parallel builds. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>