]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
tools: ynl: don't install tests
authorJakub Kicinski <kuba@kernel.org>
Tue, 6 Jan 2026 16:34:26 +0000 (08:34 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 8 Jan 2026 16:46:36 +0000 (08:46 -0800)
make's install target is meant for installing the production
artifacts, AFAIU. Don't install test_ynl_cli and test_ynl_ethtool
from under the main YNL install target. The install target
under tests/ is retained in case someone wants the tests
to be installed.

Fixes: 308b7dee3e5c ("tools: ynl: add YNL test framework")
Reviewed-by: Hangbin Liu <liuhangbin@gmail.com>
Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Link: https://patch.msgid.link/20260106163426.1468943-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/net/ynl/Makefile

index 7736b492f559c5eaba60ff4e1adc1e29f48846af..c2f3e8b3f2ac2cef2302581d6bc93d6a7fc8fb15 100644 (file)
@@ -51,7 +51,6 @@ install: libynl.a lib/*.h
        @echo -e "\tINSTALL pyynl"
        @pip install --prefix=$(DESTDIR)$(prefix) .
        @make -C generated install
-       @make -C tests install
 
 run_tests:
        @$(MAKE) -C tests run_tests