From patchwork Tue Dec 11 12:01:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 153450 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp528186ljp; Tue, 11 Dec 2018 04:02:13 -0800 (PST) X-Google-Smtp-Source: AFSGD/X4nVmeQM9EB2pJWBQeG3UV6TxrfPgbzFOZ1CJMDw0n/BhmSDw1FbdZYem3Zwskf6ODNgOl X-Received: by 2002:a62:7504:: with SMTP id q4mr15772420pfc.180.1544529733438; Tue, 11 Dec 2018 04:02:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544529733; cv=none; d=google.com; s=arc-20160816; b=JkC9BuXKRIyGiU0XW9hhr8CK3TPkbLyaQHVgTelWtbqfmfG+PUtdZbJ1J+85DEm+wd /sLWqtJO0AiY/qkw6g71C7q0pQYCaRlGWe3j7MdRLbimBum1SfmUsNwClNs6e184P5DH gqB2Lbzztt5BM65gqbsOpWFfTLLM3k7Iy2Oxld1dpLrIK28sKDiqtbaJ3tkVDOy8iikG fZv9e8KcC6Ibp3Rro17uKUXKqZBM4latv5Cym4HITHoIi8NuGDtLm+e0cYhuwb3OuZvv DZ6Em9zPcJ2HUTUZgzPAWG8cmKyCUO00lhCMqkTW60B3nCsFjD9NPHWlMsijTAaLotB+ GxWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=kPGBEAmLQmzFrcLYi9ojiKRLB9Wyq9h3VzXN/5eBx6c=; b=UFlKPEpceNkGp2VmYhEet/6GXdsgazkX9c+tDuSDTTU1I/kf2lHdGpF89WySGEBDMv vVokAEjOt9soDpT6+IWARFadvqWBMKevfJJVtOFk1lPyuKfdSpikh2PKhQmfmsvJQLUR nZ/rP8sdy5aLFOAVd8k0MELDtVnmcw+IilhsX1uiVVTAfWTLD1JNipnfo3jpc4gTPPUp b/NFnNDcpYSVyjU8E72xFbQwafeP5wGRY0K9QIqAP0eQHJIsknM9xNz3gNS2GIab8bXC i4wXtWodYr8jnRGPWaHRTAPPP1XZiShjXuA6K9jDN8Wkk7WweBfhS7kodGLYmhyVnSdS RhMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b="KSfC9+z/"; 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 o7si12056143pgl.42.2018.12.11.04.02.13; Tue, 11 Dec 2018 04:02:13 -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; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b="KSfC9+z/"; 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 S1726469AbeLKMCL (ORCPT + 31 others); Tue, 11 Dec 2018 07:02:11 -0500 Received: from conuserg-08.nifty.com ([210.131.2.75]:34040 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726251AbeLKMCK (ORCPT ); Tue, 11 Dec 2018 07:02:10 -0500 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-08.nifty.com with ESMTP id wBBC1w9X007779; Tue, 11 Dec 2018 21:01:59 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com wBBC1w9X007779 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1544529719; bh=kPGBEAmLQmzFrcLYi9ojiKRLB9Wyq9h3VzXN/5eBx6c=; h=From:To:Cc:Subject:Date:From; b=KSfC9+z/teATZ6gkP2gsQ03YDIC4ZpEeWPat81iWYKDIPTpclKlpK4jAxlaXTpQDu KIHZ2KWPcvy0PkMcZfbC3pyC01m7yWPCn8yF3pdpGVzYyRcZdGcvvzVmZjcPplo0+0 Yj0N7DZPJ2yYv1pjVqmwx4ZLq51/s7SdYIUXcfrVFGohnBuzu7QxVfRFVRznlOToTR eIiyge03XgiKWI6p7rZ80tjCfZ/TWdyj1E80hkLcp0DIaZTce9sJamary1/r75Dy1M slPg+MlhxnKTPe43fsDpWJk/mtyUr3gz7WsfM07oqNLyLxbHa8KpQKJbtjOhb7+xTE e3rmmI5h0B79Q== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org Subject: [PATCH 1/4] kbuild: remove redundant quiet_modtag for $(obj-m) Date: Tue, 11 Dec 2018 21:01:53 +0900 Message-Id: <1544529716-4917-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org All objects in $(obj-m) are included in $(real-obj-m) as well. It is true composite objects are only contained in $(obj-m), but [M] is hard-coded in quiet_cmd_link_multi-m. This line is redundant. Signed-off-by: Masahiro Yamada --- scripts/Makefile.build | 2 -- 1 file changed, 2 deletions(-) -- 2.7.4 diff --git a/scripts/Makefile.build b/scripts/Makefile.build index 6a6be9f..5a4fd82 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build @@ -110,8 +110,6 @@ $(real-obj-m:.o=.i) : quiet_modtag := [M] $(real-obj-m:.o=.s) : quiet_modtag := [M] $(real-obj-m:.o=.lst): quiet_modtag := [M] -$(obj-m) : quiet_modtag := [M] - quiet_cmd_cc_s_c = CC $(quiet_modtag) $@ cmd_cc_s_c = $(CC) $(c_flags) $(DISABLE_LTO) -fverbose-asm -S -o $@ $<