Message ID | 399b6bfbe90b4b8ce10e38ce8c7cf1f52ecac627.1733216767.git.jstancek@redhat.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | tools: ynl: add install target | expand |
diff --git a/tools/net/ynl/generated/Makefile b/tools/net/ynl/generated/Makefile index 36519ea2792a..00af721b1571 100644 --- a/tools/net/ynl/generated/Makefile +++ b/tools/net/ynl/generated/Makefile @@ -12,7 +12,7 @@ include ../Makefile.deps YNL_GEN_ARG_ethtool:=--user-header linux/ethtool_netlink.h \ --exclude-op stats-get -TOOL:=../pyynl/ynl-gen-c.py +TOOL:=../pyynl/ynl_gen_c.py GENS_PATHS=$(shell grep -nrI --files-without-match \ 'protocol: netlink' \ diff --git a/tools/net/ynl/pyynl/ynl-gen-c.py b/tools/net/ynl/pyynl/ynl_gen_c.py similarity index 100% rename from tools/net/ynl/pyynl/ynl-gen-c.py rename to tools/net/ynl/pyynl/ynl_gen_c.py diff --git a/tools/net/ynl/pyynl/ynl-gen-rst.py b/tools/net/ynl/pyynl/ynl_gen_rst.py similarity index 100% rename from tools/net/ynl/pyynl/ynl-gen-rst.py rename to tools/net/ynl/pyynl/ynl_gen_rst.py diff --git a/tools/net/ynl/ynl-regen.sh b/tools/net/ynl/ynl-regen.sh index 3212dab1cc6e..81b4ecd89100 100755 --- a/tools/net/ynl/ynl-regen.sh +++ b/tools/net/ynl/ynl-regen.sh @@ -1,7 +1,7 @@ #!/bin/bash # SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause -TOOL=$(dirname $(realpath $0))/pyynl/ynl-gen-c.py +TOOL=$(dirname $(realpath $0))/pyynl/ynl_gen_c.py force= search=
Don't use dashes as these prevent easy imports for entrypoints. Signed-off-by: Jan Stancek <jstancek@redhat.com> --- tools/net/ynl/generated/Makefile | 2 +- tools/net/ynl/pyynl/{ynl-gen-c.py => ynl_gen_c.py} | 0 tools/net/ynl/pyynl/{ynl-gen-rst.py => ynl_gen_rst.py} | 0 tools/net/ynl/ynl-regen.sh | 2 +- 4 files changed, 2 insertions(+), 2 deletions(-) rename tools/net/ynl/pyynl/{ynl-gen-c.py => ynl_gen_c.py} (100%) rename tools/net/ynl/pyynl/{ynl-gen-rst.py => ynl_gen_rst.py} (100%)