projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7db487
)
selftests/bpf: Don't include .d files on make clean
author
Ihor Solodrai
<ihor.solodrai@pm.me>
Tue, 23 Jul 2024 03:07:00 +0000
(
03:07
+0000)
committer
Andrii Nakryiko
<andrii@kernel.org>
Mon, 29 Jul 2024 22:05:04 +0000
(15:05 -0700)
Ignore generated %.test.o dependencies when make goal is clean or
docs-clean.
Signed-off-by: Ihor Solodrai <ihor.solodrai@pm.me>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link:
https://lore.kernel.org/all/oNTIdax7aWGJdEgabzTqHzF4r-WTERrV1e1cNaPQMp-UhYUQpozXqkbuAlLBulczr6I99-jM5x3dxv56JJowaYBkm765R9Aa9kyrVuCl_kA=@pm.me
Link:
https://lore.kernel.org/bpf/K69Y8OKMLXBWR0dtOfsC4J46-HxeQfvqoFx1CysCm7u19HRx4MB6yAKOFkM6X-KAx2EFuCcCh_9vYWpsgQXnAer8oQ8PMeDEuiRMYECuGH4=@pm.me
tools/testing/selftests/bpf/Makefile
patch
|
blob
|
blame
|
history
diff --git
a/tools/testing/selftests/bpf/Makefile
b/tools/testing/selftests/bpf/Makefile
index 05b234248b3807e8901329789507695fa5c49525..74f8299522801dbbcb397a6a061a42c5543c64c5 100644
(file)
--- a/
tools/testing/selftests/bpf/Makefile
+++ b/
tools/testing/selftests/bpf/Makefile
@@
-608,7
+608,9
@@
$(TRUNNER_TEST_OBJS:.o=.d): $(TRUNNER_OUTPUT)/%.test.d: \
$(TRUNNER_BPF_SKELS_LINKED) \
$$(BPFOBJ) | $(TRUNNER_OUTPUT)
+ifeq ($(filter clean docs-clean,$(MAKECMDGOALS)),)
include $(wildcard $(TRUNNER_TEST_OBJS:.o=.d))
+endif
$(TRUNNER_EXTRA_OBJS): $(TRUNNER_OUTPUT)/%.o: \
%.c \