From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 A410C26E71E; Mon, 1 Dec 2025 11:30:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764588641; cv=none; b=GJ71WskblMgVxsXUPsG9Q83AvkZZVhQMXW+LrK/96i9VVKCa1HELlmxLYjd48+9JyBrxmkBLTD7nWAGcW0nbuMqzDYm4968Z8flKaSoTEalBRBVc68QRvnGn6aeXilC+lR14+CGDbJ/6hOqzT2EFMwtHNeMGVtMlUru536YK/tI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764588641; c=relaxed/simple; bh=BeezEBK1r6ibcS8aCoDPZuwWLWANZXYhoOwExGF3Tlw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=BkFhr2z4/kBetDo36gq5YGabWhybMRHNcMJxkfzv3g8avMkZAOW1TpohX+xBvASdKOJo0E+w8KU4PkTeSxx00cUlyimb1YeX4LZ7m/j9qnECSy3/VcWvQmvs1uz6MTsSzxbdZyxTXq4OBMywqfYcpu9F45Hw1kX70LwYaczMo0U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=k0vymtC7; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="k0vymtC7" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2C235C113D0; Mon, 1 Dec 2025 11:30:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1764588641; bh=BeezEBK1r6ibcS8aCoDPZuwWLWANZXYhoOwExGF3Tlw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=k0vymtC7ifNZnvvP22CNJgbNqISxnHwhPjbBawXxQusLBPHOC5R/P3tHmqFJaDp5K kk0nXOKVQVIJ1POrg4E+w7MFJJhQT8MxKm+4Edcq1LReeAtX2VjexHwC0ZU38rw5zl qF5dj/29HQs6ZmMf4CA6tt5fIVZU2VomCHlDGOow= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Nai-Chen Cheng , Simon Horman , Shuah Khan , Jakub Kicinski , Sasha Levin Subject: [PATCH 5.4 086/187] selftests/Makefile: include $(INSTALL_DEP_TARGETS) in clean target to clean net/lib dependency Date: Mon, 1 Dec 2025 12:23:14 +0100 Message-ID: <20251201112244.337571559@linuxfoundation.org> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20251201112241.242614045@linuxfoundation.org> References: <20251201112241.242614045@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 5.4-stable review patch. If anyone has any objections, please let me know. ------------------ From: Nai-Chen Cheng [ Upstream commit d3f7457da7b9527a06dbcbfaf666aa51ac2eeb53 ] The selftests 'make clean' does not clean the net/lib because it only processes $(TARGETS) and ignores $(INSTALL_DEP_TARGETS). This leaves compiled objects in net/lib after cleaning, requiring manual cleanup. Include $(INSTALL_DEP_TARGETS) in clean target to ensure net/lib dependency is properly cleaned. Signed-off-by: Nai-Chen Cheng Reviewed-by: Simon Horman Tested-by: Simon Horman # build-tested Acked-by: Shuah Khan Link: https://patch.msgid.link/20250910-selftests-makefile-clean-v1-1-29e7f496cd87@gmail.com Signed-off-by: Jakub Kicinski Signed-off-by: Sasha Levin --- tools/testing/selftests/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/Makefile b/tools/testing/selftests/Makefile index 40ee6f57af78a..9514f6dbe46b6 100644 --- a/tools/testing/selftests/Makefile +++ b/tools/testing/selftests/Makefile @@ -237,7 +237,7 @@ else endif clean: - @for TARGET in $(TARGETS); do \ + @for TARGET in $(TARGETS) $(INSTALL_DEP_TARGETS); do \ BUILD_TARGET=$$BUILD/$$TARGET; \ $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET clean;\ done; -- 2.51.0