]> git.puffer.fish Git - mirror/frr.git/commitdiff
build: trigger fewer unneccessary clippy rebuilds
authorDavid Lamparter <equinox@diac24.net>
Wed, 15 Aug 2018 22:03:58 +0000 (00:03 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Thu, 30 Aug 2018 06:06:44 +0000 (08:06 +0200)
Make sure we include the clippy binary file in our timestamp mangling so
`make` will correctly determine when clippy files don't need to be
rebuilt.

Signed-off-by: David Lamparter <equinox@diac24.net>
python/clidef.py

index 2e5590964715b3db3c24b8211a9d1462db96c624..4134f4c94e7239bdd7e887936f4bc6927f5eaff9 100644 (file)
@@ -277,4 +277,4 @@ if __name__ == '__main__':
     process_file(args.cfile, ofd, dumpfd, args.all_defun)
 
     if args.o is not None:
-        clippy.wrdiff(args.o, ofd, [args.cfile, os.path.realpath(__file__)])
+        clippy.wrdiff(args.o, ofd, [args.cfile, os.path.realpath(__file__), sys.executable])