Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 453E4C433B4 for ; Mon, 26 Apr 2021 14:27:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 02AAF60E0C for ; Mon, 26 Apr 2021 14:27:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233855AbhDZO2E (ORCPT ); Mon, 26 Apr 2021 10:28:04 -0400 Received: from one.firstfloor.org ([193.170.194.197]:39640 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233802AbhDZO2D (ORCPT ); Mon, 26 Apr 2021 10:28:03 -0400 X-Greylist: delayed 382 seconds by postgrey-1.27 at vger.kernel.org; Mon, 26 Apr 2021 10:28:03 EDT Received: by one.firstfloor.org (Postfix, from userid 503) id ACF8B87339; Mon, 26 Apr 2021 16:20:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=firstfloor.org; s=mail; t=1619446857; bh=QsL2onNoF2HNsEZUwCo22PMI9aRGaByrkAjz43AmnY0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=g2TKWM0QeG6liyQIEYA43/T4gpvu9hdvbfixpSlG+1C+6nsaKkPxMBrsqBvZ1qwcO CV3J54vyq6E2WL2k6XbQnCpKTb6i76LoH3PMvrJr7zvZNKI9tBgRdarwjc5BY5l7yx fcSZtJ7ad41aUXXEjefx6x3IY/d0e8zYiauWRqDg= Date: Mon, 26 Apr 2021 07:20:57 -0700 From: Andi Kleen To: Masahiro Yamada Cc: Andi Kleen , Linux Kbuild mailing list , Andi Kleen Subject: Re: [PATCH] kbuild, link-vmlinux: Don't delete output files with make -i Message-ID: <20210426142057.okgmsfdsfu5j4csz@two.firstfloor.org> References: <20210425213521.3159899-1-ak@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org > How about removing on_exit() and on_signals() entirely? > > .DELETE_ON_ERROR target removes vmlinux on error anyway. > > Leaving intermediate files is safe, I think. My guess is it because the tmp vmlinux can be rather big. But makes sense. Build dirs shouldn't be that space constrained. We just need to make sure make clean cleans them too. -Andi