From patchwork Sat May 28 15:47:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 12864068 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4B673C433F5 for ; Sat, 28 May 2022 15:49:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245720AbiE1PtN (ORCPT ); Sat, 28 May 2022 11:49:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244841AbiE1PtM (ORCPT ); Sat, 28 May 2022 11:49:12 -0400 Received: from conuserg-10.nifty.com (conuserg-10.nifty.com [210.131.2.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7398AAD; Sat, 28 May 2022 08:49:10 -0700 (PDT) Received: from grover.sesame (133-32-177-133.west.xps.vectant.ne.jp [133.32.177.133]) (authenticated) by conuserg-10.nifty.com with ESMTP id 24SFlthK010610; Sun, 29 May 2022 00:47:55 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com 24SFlthK010610 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1653752876; bh=XlGpy9qwy3ZeFc0Ita9T6lAssxHHl1pbiPE9/3ec6+g=; h=From:To:Cc:Subject:Date:From; b=lSjByJBi6/u3JC+VVgofg4v99QmdwcIgasIOIeTxlHdJfCPwcvzeC3bSiMndo1rhn vCQWM9dhWGOP2QqMVmfDBeYHUJjtIOAHAGUwIzXm/NnBaxughYkrHTWLeoOVQT2Mu7 DV63LZFFl9SsjCq9uYSz4UPsR9cUUfDY7MpJPsbBkstz7y6OYOGuO6oC66+k8iVje9 a/wgjDs0zadzYVmEjMVA2/i0QjT8Kml3fovQLbsaPRss3sugbFJJshEfLTKjT89IuZ ZF7w12huhulX1zzZ116PpzeATYnQOdUxOWergGT9hI6r45swxobW31gneFwJU+pj9t RXuSLXMBLs7UA== X-Nifty-SrcIP: [133.32.177.133] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Nick Desaulniers , linux-kernel@vger.kernel.org, Josh Poimboeuf , Masahiro Yamada , Michal Marek Subject: [PATCH 1/4] kbuild: remove redundant cleanups in scripts/link-vmlinux.sh Date: Sun, 29 May 2022 00:47:01 +0900 Message-Id: <20220528154704.2576290-1-masahiroy@kernel.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org These are cleaned by the top Makefile. vmlinux.o and .vmlinux.d matches the '*.[aios]' and '.*.d' patterns respectively. Signed-off-by: Masahiro Yamada Tested-by: Sedat Dilek # LLVM-14 (x86-64) --- scripts/link-vmlinux.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/link-vmlinux.sh b/scripts/link-vmlinux.sh index a7f6196c7e41..844fc0125d72 100755 --- a/scripts/link-vmlinux.sh +++ b/scripts/link-vmlinux.sh @@ -309,8 +309,6 @@ cleanup() rm -f System.map rm -f vmlinux rm -f vmlinux.map - rm -f vmlinux.o - rm -f .vmlinux.d rm -f .vmlinux.objs rm -f .vmlinux.export.c }