diff options
| author | Jafar Al-Gharaibeh <jafar@atcorp.com> | 2024-08-20 15:02:54 -0500 |
|---|---|---|
| committer | Jafar Al-Gharaibeh <jafar@atcorp.com> | 2024-08-22 13:46:30 -0500 |
| commit | b3dc3680bcb147748deb5b5a96ffa9aee7446102 (patch) | |
| tree | e80c6bc8959f85991778828a1bd47614b38f4658 /tools | |
| parent | d9775c690cb6f3d5fcc91805c3ada83aaa8f4835 (diff) | |
tools, ospfclient: add a config option to skip installing python scripts
The new config option --disable-python-runtime allows make install to proceed
without installing any of the python scripts. When installing from deb/rpm
packages those are bundled as frr-pythontools, which is independent from the
frr binaries and can already be skipped. I.e, this PR gives the option to skip
those scripts when building/installing from sources too.
Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/subdir.am | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/tools/subdir.am b/tools/subdir.am index 64ca0bd514..f2ed2332b8 100644 --- a/tools/subdir.am +++ b/tools/subdir.am @@ -13,15 +13,20 @@ EXTRA_PROGRAMS += \ # end sbin_PROGRAMS += tools/ssd + +if PYTHON_RUNTIME_DEPENDENCY sbin_SCRIPTS += \ - tools/frr-reload \ tools/frr-reload.py \ + tools/generate_support_bundle.py \ + tools/frr_babeltrace.py +endif + +sbin_SCRIPTS += \ + tools/frr-reload \ tools/frr \ \ tools/frrcommon.sh \ tools/frrinit.sh \ - tools/generate_support_bundle.py \ - tools/frr_babeltrace.py \ tools/watchfrr.sh \ # end |
