summaryrefslogtreecommitdiffstats
path: root/tools/subdir.am (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tools: add frr_babeltrace.py to /usr/lib/frrAnuradha Karuppiah2021-10-151-0/+2
| | | | | | | Make the script available as a part of the FRR package install for ease of use. Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
* Merge pull request #8353 from opensourcerouting/llvm-20210327Quentin Young2021-06-011-0/+6
|\
| * tools: grok struct member calls in frr-llvm-cgDavid Lamparter2021-04-071-0/+6
| | | | | | | | | | | | | | Calling a function pointer embedded in a struct is quite common & having this listed in the call graph is useful. Signed-off-by: David Lamparter <equinox@diac24.net>
* | lib: rework how we "override" assert()David Lamparter2021-05-021-0/+2
|/ | | | | | | | | | | The previous method, using zassert.h and hoping nothing includes assert.h (which, on glibc at least, just does "#undef assert" and puts its own definition in...) was fragile - and actually broke undetected. Just provide our own assert.h and control overriding by putting it in a separate directory to add to the include path (or not.) Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* tools: add frr@.serviceDavid Lamparter2020-07-221-0/+1
| | | | | | ... for starting an FRR instance. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* build: add LLVM bitcode targetsDavid Lamparter2020-05-051-3/+3
| | | | | | | Just an easy way to produce LLVM .bc (bitcode) files. Not used during normal builds. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* tools: frr-llvm-cgDavid Lamparter2020-05-051-0/+12
| | | | | | | | | | This dumps call graph data from LLVM bitcode files into a JSON file. Specifically for FRR, it understands thread_add_*(), hook_*() and install_element() so it can provide extra information in these cases. As a general feature, it tries to track down function pointers as far as easily feasible. Signed-off-by: David Lamparter <equinox@diac24.net>
* tools: Modifications to copy support bundle filesSri Mohana Singamsetty2019-09-131-0/+2
| | | | | | This commit is to copy the support bundle scripts to appropriate directories during installation Signed-off-by: Sri Mohana Singamsetty <msingamsetty@vmware.com>
* build: fix a whole bunch of *FLAGSDavid Lamparter2019-01-301-2/+2
| | | | | | | | | - some target_CFLAGS that needed to include AM_CFLAGS didn't do so - libyang/sysrepo/sqlite3/confd CFLAGS + LIBS weren't used at all - consistently use $(FOO_CFLAGS) instead of @FOO_CFLAGS@ - 2 dependencies were missing for clippy Signed-off-by: David Lamparter <equinox@diac24.net>
* debian/tools: new init scriptDavid Lamparter2018-12-061-0/+4
| | | | | | | | | | | | | | | | | | | This separates the init script used for the system (and called in the systemd unit file) from the script that watchfrr uses to control daemons. Mixing these two caused the entire thing to become a rather huge spaghetti mess. Note that there is a behaviour change in that the new script always starts zebra regardless of zebra_enable. Side changes: - Ubuntu 12.04 removed from backports since it doesn't work anyway - zebra is always started regardless of zebra_enable. To disable FRR, the entire init script should be disabled through policy. - no-watchfrr operation is no longer supported by the scripts in the Debian packages. (This is intentional.) Signed-off-by: David Lamparter <equinox@diac24.net>
* lib: introduce new northbound APIRenato Westphal2018-10-271-1/+12
| | | | Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
* build: make clean and dist consistentDavid Lamparter2018-10-241-1/+0
| | | | | | | We weren't cleaning up some files (a whole lot of python foobar) and had some files in the dist tarball that don't quite belong there. Signed-off-by: David Lamparter <equinox@diac24.net>
* tools: add a script for building a Debian package in one step.Daniil Baturin2018-10-011-0/+1
| | | | | | | | The script simplifies the relatively lengthy procedure. It should be invoked from the top level source directory, for example: ./tools/build-debian-package.sh Signed-off-by: Daniil Baturin <daniil@baturin.org>
* tools: Add helper frr-reload shell script for clean errorMartin Winter2018-03-151-0/+2
| | | | | | | Adding the shell script allows a clean error if frr-pythontools is not installed. Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
* build: non-recursive watchfrr & toolsDavid Lamparter2017-09-071-0/+27
(also forgot to remove AC_SUBST(ISISD) earlier) Signed-off-by: David Lamparter <equinox@opensourcerouting.org>