From patchwork Thu Nov 15 08:27:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 151202 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp6713943ljp; Thu, 15 Nov 2018 00:28:35 -0800 (PST) X-Google-Smtp-Source: AJdET5fMCcfbpnh1pMDFW7bsshNL9WyjN3i8m2IBGO+yAH1HPGBsRD+HCp/2qXAvRAuSIUXwXjme X-Received: by 2002:a62:6547:: with SMTP id z68-v6mr5317925pfb.169.1542270515709; Thu, 15 Nov 2018 00:28:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542270515; cv=none; d=google.com; s=arc-20160816; b=I9AdKeNk5A8mzxJ+IXXESaSQar/XJwvHpwvcxAIkcLG7JQuKHmQ79kJFNUOe8xGgjU 5hd/Lx4Cr3XeQtSd0nuJiDtZPPeEMBBCksjKXlI9UH0U3eZeybMITqN+fkxcLaUJv7Cw EjxAaI2LLE8s8sASzvHOfK6AIpsWKwemnVwDga9slEEP5Or4Bdu4beW1WS24JWQx89Hq xDeYJCN5zmCPsu1RQASJRiiu/2EGmmczsdzkrsHI+6iojRVLvR2U4JIgj2N0lJ5VXlqW f6+63f870dXheaaCLmfMeCfG4wp70BqXCT0EAVYR0nl2Ulevq8wWVOMHOK1Mf/58IlFY +l8w== 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:dkim-signature:dkim-filter; bh=DnGgUS0hhg+x1SY/xfxll6SbL2Lqbmk3WkFzwR2jry8=; b=eeDlUGL8gte1zzE+BU+2CJMuIoaI+9K1eBJkY8LziZzgl7FIVTo1D5dTgeum+vWvbb PbQIKd1HLeNOWLhS4ltIM1swGMZb5czYJKdhAjZKks4K1qUUEGdPdSWgjUxIAYmyAOnR B8Tj53Nr3siVZtG2iI5LAvmWMZZv4yuUmCSUBSkKBm34dTYXOkBrvs13W2pV1gWXDr9F ZNuRVRLaUEIR6rGRaXN5WBQ8s32GQNxd8j5SvVSPDQfSzpT95PK7oIuwZmqeD6k9d0GP qji/iTHkCzzbIbrT9727Z4jVTKviNUx5xrKKpAMpJnwAQ2KSrgyVsucL2CpxbUCF7RgV 2a/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=L7rqx2ZS; 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 y3-v6si26159661pfe.42.2018.11.15.00.28.35; Thu, 15 Nov 2018 00:28:35 -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=L7rqx2ZS; 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 S1728991AbeKOSfX (ORCPT + 32 others); Thu, 15 Nov 2018 13:35:23 -0500 Received: from conuserg-08.nifty.com ([210.131.2.75]:50699 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728564AbeKOSfX (ORCPT ); Thu, 15 Nov 2018 13:35:23 -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 wAF8RHof022794; Thu, 15 Nov 2018 17:27:24 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com wAF8RHof022794 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1542270445; bh=DnGgUS0hhg+x1SY/xfxll6SbL2Lqbmk3WkFzwR2jry8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=L7rqx2ZS6V0DNS+uB7DyfJv3kfc1SQ4bigwyicQgfbYpJvBlIA/Uoljp7yBdPeeTO 5VmYTeuAcrRgKoPkmkM6ZTTEoGOwDG5+1mecng/bAsPmURhbgYXY84+VM/53IIVH3r EPJaUKRNnfGPcFBkV9WGkUCWPJyabs7AllWmyY6cHwOKszbs8Grt6Iz09jm+3MGfj4 fWYgGMfESUneB7wSMAuHsBLlSFRcf7AYkTu7enF8TFvSbP7RxZES0WiCWZ/W+paMu4 Szi0Shk28l9NWHsKXOJFmb2xt+JiyaytNfrnbFQip/aIsrfgAmnFmG3+V/+8V5v4MR b1w/VrXgVnygw== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Sam Ravnborg , Nicolas Pitre , Rasmus Villemoes , Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org Subject: [PATCH 8/8] kbuild: remove redundant 'set -e' from cmd_* defines Date: Thu, 15 Nov 2018 17:27:15 +0900 Message-Id: <1542270435-11181-9-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1542270435-11181-1-git-send-email-yamada.masahiro@socionext.com> References: <1542270435-11181-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These three cmd_* are invoked in the $(call cmd,*) form. Now that 'set -e' moved to the 'cmd' macro, they do not need to explicitly give 'set -e'. Signed-off-by: Masahiro Yamada --- scripts/Makefile.build | 2 -- scripts/package/Makefile | 1 - 2 files changed, 3 deletions(-) -- 2.7.4 diff --git a/scripts/Makefile.build b/scripts/Makefile.build index 0f28df2..0bb8d9a 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build @@ -134,7 +134,6 @@ cmd_gensymtypes_c = \ quiet_cmd_cc_symtypes_c = SYM $(quiet_modtag) $@ cmd_cc_symtypes_c = \ - set -e; \ $(call cmd_gensymtypes_c,true,$@) >/dev/null; \ test -s $@ || rm -f $@ @@ -340,7 +339,6 @@ cmd_gensymtypes_S = \ quiet_cmd_cc_symtypes_S = SYM $(quiet_modtag) $@ cmd_cc_symtypes_S = \ - set -e; \ $(call cmd_gensymtypes_S,true,$@) >/dev/null; \ test -s $@ || rm -f $@ diff --git a/scripts/package/Makefile b/scripts/package/Makefile index 73503eb..453fece 100644 --- a/scripts/package/Makefile +++ b/scripts/package/Makefile @@ -33,7 +33,6 @@ MKSPEC := $(srctree)/scripts/package/mkspec quiet_cmd_src_tar = TAR $(2).tar.gz cmd_src_tar = \ -set -e; \ if test "$(objtree)" != "$(srctree)"; then \ echo >&2; \ echo >&2 " ERROR:"; \