From patchwork Fri Feb 2 16:21:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 126751 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp786007ljc; Fri, 2 Feb 2018 08:22:25 -0800 (PST) X-Google-Smtp-Source: AH8x22667LqKE2uJTswj8wHpQRjBjK0A0tVUNAzSFVWawp4vS7OdULciPY48rIo193J/sNGpqFub X-Received: by 10.99.127.84 with SMTP id p20mr2571992pgn.330.1517588545130; Fri, 02 Feb 2018 08:22:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517588545; cv=none; d=google.com; s=arc-20160816; b=REksdcHt2U1L4xSPXX4mjMb63I1b181Q/wyzMGwsh1T7XR7EoplE4DsFB2YrJF6FlY /eHzCVKu+u9D1tpaf9/tKM/ONa0y0T4blxV5lOo/iSS0xQQ7Y+7KoQhRI8xy+Ds60aqg xnVW1+/vuB6C2MMGUN+bdXrQVM3sSLAYG5rAdMRRGMzfx3CHRZWEklxbOQ6oFs5oIoGa Dqj5fqTWrkjhqa2l5I9UG8ShtnARss/fKPIy1Q1lhxBGRlYlzmiOrudLdAW/tAuOpcom 6x/kJy1sEUOJJr75DBUrGWl/JmGVQBRTTTe188sKZ7l3vbwr9Y67qMV91HLBpfSijzwH Yr6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=sHIrjt/uCiTFwx3pw1hyadPrL+jkZeEBRpXaNH2nknY=; b=ctL6BdpySPtaSsJQlj9aY0OgYgrQAAN3UXkCQl1c0aaJNjMEoWP4REF/OVuo+LlCAB cu95kI53f4sb1vuEqynOVz6eMazxMOhkijZoA12i72pTsehabAbxiSYLTjVm6RY4GD9u TfQh73EmGzRXz09sv/kiPMb3lm+Gc+KZZltI027WnwB4CImWoFp4vDA2omtalMWRi0du o00Uh1v06y7VqGdiWJ4FM2BGdcJKt73dHYYuHt1yCmwV8Ale3W+f0+fztkdv82w1G7yT RmBNlLq7/SM3YUhKQGFMGog4MmIlF5LBYRbpG9I3ECf3Mkb0sNkC+YRyW1kUBNn3yEY8 U4bg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v3-v6si2029394plb.329.2018.02.02.08.22.24; Fri, 02 Feb 2018 08:22:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752484AbeBBQWV (ORCPT + 28 others); Fri, 2 Feb 2018 11:22:21 -0500 Received: from mout.kundenserver.de ([217.72.192.75]:50294 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751651AbeBBQVd (ORCPT ); Fri, 2 Feb 2018 11:21:33 -0500 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue105 [212.227.15.145]) with ESMTPA (Nemesis) id 0M2d6r-1eyLQR12W5-00sOIL; Fri, 02 Feb 2018 17:21:18 +0100 From: Arnd Bergmann To: Andi Kleen Cc: Nicolas Pitre , linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, Arnd Bergmann Subject: [PATCH 6/7] Kbuild: lto: clean build artifacts Date: Fri, 2 Feb 2018 17:21:03 +0100 Message-Id: <20180202162104.2300532-6-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20180202161550.2106846-1-arnd@arndb.de> References: <20180202161550.2106846-1-arnd@arndb.de> X-Provags-ID: V03:K0:Q1tpS3sWZ5LNeV0el4my5icWFnLMwoMc+8eoN7V3rt5qwXJuzQ8 vtGU13j1C9xMJsLIEv7EsNn9CsyZ5lo0q/dSqI6FT9QppVG7WB1NajeZiF/dN97kNSEdMv2 ANuasXrS4Poz+3emQBbyrmrRT85DQUrq92OWbzC+dMhLcD1UhfkKTBNK3XyyAIa13xVFDVE SN6aiXKdt/FN06bBO1p6g== X-UI-Out-Filterresults: notjunk:1; V01:K0:RWiW4QIXb4c=:1Q4uXSpidCYq2vVAjTNwZd 0k+FQ78LOWPtd92fMTBUMoF3pe6xPsYu23LUOt+u8ttFjYcWhjDtaJ1G6bxnv2wyCnQJW6hsv /sDahi74CGuj4Om9RoyKOb/vGL2f+k+LW1uTlp2banOv1lpPzjVJgIlmAO5Xa7oWvVgR3Hdd7 S6tIyatXO7r05c5z2afhJRO0RWIqYCzPfInjhOS39GJtUexIYi4cJ51iEVl+QfD09niPAJOxb r3uLW3GbOoFSK3acLKy74H8WuFyCeBNRsHPof/dG3jnQzXf8YdO29sVMvzYQR/8c6j4rh35dA tClPoT7qJJcdxI5ouOgvYbQZ90gxnW4zhV0xV1IZJyUUepGIAjUmkC4c41dS1WbKIIVimq3fZ EFi4aJCqMYnFdMSootJTCR7rxAme2OPQamgSJ7yy+FvyWb5qsytymz9C5zSREouW2oxT6lP1t rxcP6Hv8D0EyhmyWVb8XxhIJiD92TF9Vg08Arv/Mfl26rxE5tbOfLCXzfLyn4KVeOyG5rfOw3 XhoBkPlYZ8sQAhvu1SjTJA6xQMsGRT06PiDya71GpEBcE8KuWecOa8vJhy2oUpp3+wayKdtga xvOLvWWaREoEwzHh+SyIxDnV2boAyNGxi96t+wxl0ZqPn7c3XKSNFFXAAg+HCAEBoh0elG9OL rxToquRiW65cJpkng2jOedOHRAPW4MAT6Yp1J/AGttk/TkAfAsKALSkqD6Bifv9DUCLgtSyzP 5oSpGG2ulqM2svtyn8Ea/6ucGp3kvORvEJRxlA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org During test-building I filled up my disk with stale files that never got cleaned. This should make sure we remove them all. Signed-off-by: Arnd Bergmann --- scripts/link-vmlinux.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.9.0 diff --git a/scripts/link-vmlinux.sh b/scripts/link-vmlinux.sh index 964b2ee855dd..130df0781072 100755 --- a/scripts/link-vmlinux.sh +++ b/scripts/link-vmlinux.sh @@ -113,7 +113,7 @@ vmlinux_link() ${1}" fi - ${LDFINAL} ${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} \ + ${LDFINAL} ${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} \ -T ${lds} ${objects} else if [ -n "${CONFIG_THIN_ARCHIVES}" ]; then @@ -195,6 +195,8 @@ cleanup() rm -f System.map rm -f vmlinux rm -f vmlinux.o + rm -f cc*.ltrans*.o + rm -f vmlinux.o.* vmlinux.ltrans* vmlinux.wpa* } on_exit()