summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJafar Al-Gharaibeh <jafar@atcorp.com>2024-08-20 22:02:54 +0200
committerJafar Al-Gharaibeh <jafar@atcorp.com>2024-08-22 20:46:30 +0200
commitb3dc3680bcb147748deb5b5a96ffa9aee7446102 (patch)
treee80c6bc8959f85991778828a1bd47614b38f4658 /tools
parentMerge pull request #16597 from kprovost/master (diff)
downloadfrr-b3dc3680bcb147748deb5b5a96ffa9aee7446102.tar.xz
frr-b3dc3680bcb147748deb5b5a96ffa9aee7446102.zip
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.am11
1 files changed, 8 insertions, 3 deletions
diff --git a/tools/subdir.am b/tools/subdir.am
index 64ca0bd51..f2ed2332b 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