]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests: net: rebuild YNL if dependencies changed
authorJakub Kicinski <kuba@kernel.org>
Fri, 11 Oct 2024 23:03:10 +0000 (16:03 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 15 Oct 2024 00:58:36 +0000 (17:58 -0700)
commit0cb06dc6c42b1b2940e01f207ddf980f2d637545
tree0241ecd76a3610a95928f122ca14ca8aeba44875
parent2a22bead433e2f6b4340bbd5c8e992fbb17cbb52
selftests: net: rebuild YNL if dependencies changed

Try to rebuild YNL if either user added a new family or the specs
of the families have changed. Stanislav's ncdevmem cause a false
positive build failure in NIPA because libynl.a isn't rebuilt
after ethtool is added to YNL_GENS.

Note that sha1sum is already used in other parts of the build system.

Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Link: https://patch.msgid.link/20241011230311.2529760-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/ynl.mk