From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 612414B8DDB for ; Tue, 3 Mar 2026 16:22:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.130 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772554942; cv=none; b=gzzu02K7aFbSHwEzaNLA1O1/EweOMQn3glLqTaleep771X5KNWQSnAOjYScj0wRgHB14ov3LTd03Z5BxPshDLlZnRJKv+PaBIy31w5WNNbaKg0/ok0InQGqnt6dDhZb0D41CXkBtdfOpvm7Kq2mAzWVtX/IBmMTbyoKyc5kwg7U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772554942; c=relaxed/simple; bh=Jav/YoIlsv7jbMbdI/FZvHrI9b1Vg0QVCM2D66myDr4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=JIqHvccNY7FFbYkBXhh8ic0JiRfX7OTMfBPSTHu48T44ZmzfcxnjdyUW+ZHYtLvniRc9s/TkGeViSviSjyJPqVeULkRujUkuEag5WKUisJoF4xUyiSZlEeQdgpktxvRdYQ5h2jbymOLspe6BCLd6Xh29ZxuooOy/lXlV33ZD9tI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de; spf=pass smtp.mailfrom=suse.de; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=RqbBUMfv; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=pC/2dueW; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=RqbBUMfv; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=pC/2dueW; arc=none smtp.client-ip=195.135.223.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="RqbBUMfv"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="pC/2dueW"; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="RqbBUMfv"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="pC/2dueW" Received: from kitsune.suse.cz (unknown [10.100.12.127]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 366873F8B1; Tue, 3 Mar 2026 16:22:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1772554936; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=a0CGUikm7J9gwffuIFGQaP7gMZPGjnTHZ2GitsgndHc=; b=RqbBUMfvvq7r1FUCRzTES1se+4Xoo06zXc3mL2bcfZEWLHASR6qlWuuTS+dcGb92R2vg5E KEqN9nVBdXhngpFA5L57FOjtQd9TtbUt5gHfLz5441LVig0cD7qs3OqzeqlonqZ2uvQC9n ceU3/N1EnKy2IIj54+Hb4kr5In1F/Xk= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1772554936; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=a0CGUikm7J9gwffuIFGQaP7gMZPGjnTHZ2GitsgndHc=; b=pC/2dueWNwel+FKwUsYIl6RenkHiRN1c1CjRC+bwEdexn4OANko4l2uMqWS14Cc78vBLn6 jUmtdPSjrPvTEvAQ== Authentication-Results: smtp-out1.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1772554936; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=a0CGUikm7J9gwffuIFGQaP7gMZPGjnTHZ2GitsgndHc=; b=RqbBUMfvvq7r1FUCRzTES1se+4Xoo06zXc3mL2bcfZEWLHASR6qlWuuTS+dcGb92R2vg5E KEqN9nVBdXhngpFA5L57FOjtQd9TtbUt5gHfLz5441LVig0cD7qs3OqzeqlonqZ2uvQC9n ceU3/N1EnKy2IIj54+Hb4kr5In1F/Xk= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1772554936; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=a0CGUikm7J9gwffuIFGQaP7gMZPGjnTHZ2GitsgndHc=; b=pC/2dueWNwel+FKwUsYIl6RenkHiRN1c1CjRC+bwEdexn4OANko4l2uMqWS14Cc78vBLn6 jUmtdPSjrPvTEvAQ== Date: Tue, 3 Mar 2026 17:22:15 +0100 From: Michal =?iso-8859-1?Q?Such=E1nek?= To: Josh Poimboeuf Cc: Nathan Chancellor , linux-kbuild@vger.kernel.org, Nicolas Schier , Masahiro Yamada , Miguel Ojeda , Thomas =?iso-8859-1?Q?Wei=DFschuh?= , Tamir Duberstein , Steven Rostedt , linux-kernel@vger.kernel.org, Jiri Slaby Subject: Re: [PATCH] kbuild: only clean objtool on mrproper Message-ID: References: <20260225112633.6123-1-msuchanek@suse.de> <20260225200417.GE2755225@ax162> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Score: -4.30 X-Spam-Level: X-Spamd-Result: default: False [-4.30 / 50.00]; BAYES_HAM(-3.00)[100.00%]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.20)[-0.999]; MIME_GOOD(-0.10)[text/plain]; MISSING_XM_UA(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; FUZZY_RATELIMITED(0.00)[rspamd.com]; RCPT_COUNT_SEVEN(0.00)[11]; TO_DN_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:email] X-Spam-Flag: NO On Wed, Feb 25, 2026 at 12:37:58PM -0800, Josh Poimboeuf wrote: > On Wed, Feb 25, 2026 at 09:23:09PM +0100, Michal Suchánek wrote: > > On Wed, Feb 25, 2026 at 01:04:17PM -0700, Nathan Chancellor wrote: > > > On Wed, Feb 25, 2026 at 12:26:29PM +0100, Michal Suchanek wrote: > > > > For packaging purposes I want to be able to grab the tool binaries > > > > without the .o files > > > > > > > > Fixes: 68b4fe32d737 ("kbuild: Add objtool to top-level clean target") > > > > Signed-off-by: Michal Suchanek > > > > > > Wouldn't resolve_btfids need the same treatment? > > > > No, make clean runs the clean target for resolve_btfids but the tool > > remains. > > > > > Why is objtool special here? > > > > That's what I would like to know as well. > > > > > Also, what's the use case? Running 'make clean' then copying what > > > is left? > > > > Yes, that's what my build script has been doing for at least a decade, > > possibly mutiple decades when it was somebody else's build script. > > Why is the build script doing that? To clollect the generated files, primarily for building modules. Thanks Michal