Skip to content

Commit 60b4d49

Browse files
committed
selftests: net: move EXTRA_CLEAN of libynl.a into ynl.mk
Commit 1fd9e4f ("selftests: make kselftest-clean remove libynl outputs") added EXTRA_CLEAN of YNL generated files to ynl.mk. We already had a EXTRA_CLEAN in the file including the snippet. Consolidate them. Acked-by: Stanislav Fomichev <sdf@fomichev.me> Link: https://patch.msgid.link/20241011230311.2529760-2-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 0cb06dc commit 60b4d49

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/testing/selftests/net/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ TEST_PROGS += vlan_hw_filter.sh
9898
TEST_PROGS += bpf_offload.py
9999

100100
# YNL files, must be before "include ..lib.mk"
101-
EXTRA_CLEAN += $(OUTPUT)/libynl.a
102101
YNL_GEN_FILES := ncdevmem
103102
TEST_GEN_FILES += $(YNL_GEN_FILES)
104103

tools/testing/selftests/net/ynl.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,5 @@ $(OUTPUT)/libynl.a: $(YNL_SPECS) $(OUTPUT)/.libynl-$(YNL_GENS_HASH).sig
3333
EXTRA_CLEAN += \
3434
$(top_srcdir)/tools/net/ynl/lib/__pycache__ \
3535
$(top_srcdir)/tools/net/ynl/lib/*.[ado] \
36-
$(OUTPUT)/.libynl-*.sig
36+
$(OUTPUT)/.libynl-*.sig \
37+
$(OUTPUT)/libynl.a

0 commit comments

Comments
 (0)