summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Lind <michel@michel-slm.name>2026-01-16 21:21:58 +0000
committerJakub Kicinski <kuba@kernel.org>2026-01-20 17:10:50 -0800
commita917cd0a23fae160a85b0e8a0dd1d548c5d5242e (patch)
treebf50a6ffeb6e2a634f0a12eb90f26d93242c2bd4
parenta9f470594c50ab1ddf25b21a00ca4d3166057f3b (diff)
tools/net/ynl: Makefile's install target now installs ynltool
This tool is built by default, but was not being installed by default when running `make install`. Fix this by calling ynltool's install target. Signed-off-by: Michel Lind <michel@michel-slm.name> Link: https://patch.msgid.link/aWqr9gUT4hWZwwcI@mbp-m3-fedora.vm Signed-off-by: Jakub Kicinski <kuba@kernel.org>
-rw-r--r--tools/net/ynl/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/net/ynl/Makefile b/tools/net/ynl/Makefile
index c2f3e8b3f2ac..9b692f368be7 100644
--- a/tools/net/ynl/Makefile
+++ b/tools/net/ynl/Makefile
@@ -41,7 +41,7 @@ clean distclean:
rm -rf pyynl.egg-info
rm -rf build
-install: libynl.a lib/*.h
+install: libynl.a lib/*.h ynltool
@echo -e "\tINSTALL libynl.a"
@$(INSTALL) -d $(DESTDIR)$(libdir)
@$(INSTALL) -m 0644 libynl.a $(DESTDIR)$(libdir)/libynl.a
@@ -51,6 +51,7 @@ install: libynl.a lib/*.h
@echo -e "\tINSTALL pyynl"
@pip install --prefix=$(DESTDIR)$(prefix) .
@make -C generated install
+ @make -C ynltool install
run_tests:
@$(MAKE) -C tests run_tests