From patchwork Tue Jul 23 03:07:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ihor Solodrai X-Patchwork-Id: 13739294 X-Patchwork-Delegate: bpf@iogearbox.net Received: from mail-4322.protonmail.ch (mail-4322.protonmail.ch [185.70.43.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 87F3713A86D for ; Tue, 23 Jul 2024 03:07:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.70.43.22 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721704031; cv=none; b=NTlnUsgx+TZIqMjlne3Ty3fhOOFj3ByInREZ6DRflPUXOf07/lXKG/YWtOezoCOFJl5D1KILUpXE1sFbljuHnZfw3T8iYlLjH3JtgCCST2B0Yuci/dToaSg5f5cJgE/ImJBttaeGZkGzZLrskJmW4MiUjmtVHqlMQtehynuSIb4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721704031; c=relaxed/simple; bh=q+HyuY/+CqqF3zyoDDDMjDJ46YSj3lP+Zy1BTU4CpvE=; h=Date:To:From:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=ZABjes/O/YSA6ABM8DrA2O+OaGmCYz+0WrYh3hngIv3h9jnWIpN7z9+0YjRaZcOu6O92gagv8xZ4IJHonxOwTfeg0UsOfATeRPxWtqUbaR+gIr+ovqUYrwZyRr+KHWIcJZMrii5NH5UfhFDLy+aNXd64oX8SPw839FEkyLiamJ8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=pm.me; spf=pass smtp.mailfrom=pm.me; dkim=pass (2048-bit key) header.d=pm.me header.i=@pm.me header.b=lVet5LpY; arc=none smtp.client-ip=185.70.43.22 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=pm.me Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pm.me Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=pm.me header.i=@pm.me header.b="lVet5LpY" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1721704027; x=1721963227; bh=furQO7ae5cfHkUhDTfIDbxd1LUxnrc4sBS1bNKhCQBg=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=lVet5LpYC/G6LaLmVf7z2/sGruUZIWsFhQiRZyc/YYLjukIfCnsrC7DGnruuob1TE +CIccn1sNrVgU5ggxdUEoDXuMCm+3EcFSPv3ZaKozGjP4F0taCVSoztQP2M1qiVlV9 j2QdSacQTxFuhRykJxjPe5l8DhnFcY/91VCW+hgmGcL+erCVMFuBKmD9LuvrBN0s0R QnjeXTC4343elARKppL99jQkzJ5WW6863jfGJVz+6NljA87aNzvMe5HDt7gqCHX65q WJt5cMnnuk6EcmLBhbdQUmCDzdhw28w4+TG4rkvGMJNrOWkKGLg8JT0zNoV4JjZnPU MiPDie4SFlRuQ== Date: Tue, 23 Jul 2024 03:07:00 +0000 To: bpf From: Ihor Solodrai Cc: Alexei Starovoitov , Eduard Zingerman , Andrii Nakryiko , Daniel Borkmann , Mykola Lysenko Subject: [PATCH bpf-next] selftests/bpf: don't include .d files on make clean Message-ID: Feedback-ID: 27520582:user:proton X-Pm-Message-ID: 9be0a444015311980f20456e841889651a23cb2e Precedence: bulk X-Mailing-List: bpf@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: bpf@iogearbox.net Ignore generated %.test.o dependencies when make goal is clean or docs-clean. Link: https://lore.kernel.org/all/oNTIdax7aWGJdEgabzTqHzF4r-WTERrV1e1cNaPQMp-UhYUQpozXqkbuAlLBulczr6I99-jM5x3dxv56JJowaYBkm765R9Aa9kyrVuCl_kA=@pm.me Signed-off-by: Ihor Solodrai --- tools/testing/selftests/bpf/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/testing/selftests/bpf/Makefile b/tools/testing/selftests/bpf/Makefile index 05b234248..74f829952 100644 --- 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 \