From patchwork Tue Mar 27 05:29:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 132439 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp4653585ljb; Mon, 26 Mar 2018 22:32:23 -0700 (PDT) X-Google-Smtp-Source: AG47ELteJBn8/pxfY1l4UjkT+2Tu9Z9gEPdNrIYr6ZMSpyUqvXD7hhmdvJfgNaTUtpmU+grtcHir X-Received: by 10.98.211.211 with SMTP id z80mr34928070pfk.16.1522128743719; Mon, 26 Mar 2018 22:32:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522128743; cv=none; d=google.com; s=arc-20160816; b=YGMKutF15lTgrkBxxUQh9v05GoX0aUCy0qe+/68bxXih3Y3e2uLuloybVqoIp4+ipQ xnP7TEasZAVCdX6xGGjy+M35gB4tosMhuQplrL3p7h/ZZFpZH663Id6BKM3teL4pbhN4 KNf3hlhstCsn/XsGJRq1XXUV34NmOTWYgn/GKD0zL3ygivika+d+i/ojVX34YE0yq3q7 oqz8QYUO7f0hjuJXsFvHt8QBz/sToIJAGh1filX9+H/NW+0hq0cppssotIHMtHFvo4Np BYxqXhxx8WM3xG6BSFhONnOZnkP947d3t5VUTjfT9t3Gelk/8JGxEqNfpRdxQcYhsW/l DQ1g== 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 :arc-authentication-results; bh=pm4buBS4qJN6Q1E4e28WuspeqHQ+lHRth0G3klYbkDo=; b=PrHjiEdJ5ydlEFaJVcJHaMxfoz7nThi0z9J8bS4eKPH27kMkyg9oDP1S4t8NxVzEHI g9tvl32AMcGlBMg+cwL4PlolC3cpQ2IFeco3eHAku2yXBVfM7ZANY42aaN7C8VNxaNSM U5/O+N5BobJGiCb1SebJ5SAyAXlQaQipE8HarKLu4w4zNrI6WEyplCoz8vMMFSzwAK+Z 5tt1FwNdj6OYL1EymMA43xJVbdlgZPJfmAR7eROvKtTI8gPctcpXvUqMCidPplN5J5B3 vmTgDijKUDR8R/TutByTterKnIWjmQ5OiDf5eGMexBnCa30/6KSsZMXo6Wnt6coJF4CY kuLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=LUG7XqQZ; 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 f4si356202pgc.267.2018.03.26.22.32.23; Mon, 26 Mar 2018 22:32:23 -0700 (PDT) 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=LUG7XqQZ; 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 S1752218AbeC0FcT (ORCPT + 28 others); Tue, 27 Mar 2018 01:32:19 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:45156 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752171AbeC0FcQ (ORCPT ); Tue, 27 Mar 2018 01:32:16 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id w2R5TaM5011947; Tue, 27 Mar 2018 14:30:02 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com w2R5TaM5011947 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1522128603; bh=pm4buBS4qJN6Q1E4e28WuspeqHQ+lHRth0G3klYbkDo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LUG7XqQZtMn3EMl4N5G/9qGgxrKl3uWoD9aMdf4RastLWvh/DLrZL5Q7N6gzQJIQB Ifb+zK1WNWDJfH0sFLmuqZn69RSUquq3pht98eipM06YySznpAlhAkO6+AChv67kiy blOcFlbSD/UW3yz2377lLE5piiH+u7n8u90i5yUDqEpmWtEJ2AVlg3VkK4c9YWsOS5 gVFnK537AkiEfK4+q3AQpw/PRfaXO2nMG9dgg/99R/0D3DDzvmnDOr1E7QlwGErk8e 2+/6Gc2EvGYiy9UhYmLdifEULiztHP5ZIP+jufBBiEOXknBUC4gBxVieF9EbBJkrQw l8AsjiybW4qdw== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Sam Ravnborg , Linus Torvalds , Arnd Bergmann , Ulf Magnusson , Kees Cook , Thomas Gleixner , Greg Kroah-Hartman , Randy Dunlap , "Luis R . Rodriguez" , Nicolas Pitre , Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH v2 20/21] gcc-plugins: enable GCC_PLUGINS for COMPILE_TEST Date: Tue, 27 Mar 2018 14:29:34 +0900 Message-Id: <1522128575-5326-21-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1522128575-5326-1-git-send-email-yamada.masahiro@socionext.com> References: <1522128575-5326-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 The plugin availability is checked in Kconfig, so all{yes,mod}config will not be bothered. Remove 'depends on !COMPILE_TEST'. Signed-off-by: Masahiro Yamada --- Changes in v2: - Remove more 'depends on' arch/Kconfig | 4 ---- 1 file changed, 4 deletions(-) -- 2.7.4 diff --git a/arch/Kconfig b/arch/Kconfig index 88cc925..b07094c 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -414,7 +414,6 @@ menuconfig GCC_PLUGINS bool "GCC plugins" depends on HAVE_GCC_PLUGINS depends on $(success $srctree/scripts/gcc-plugin.sh $HOSTCXX $CC) - depends on !COMPILE_TEST help GCC plugins are loadable modules that provide extra features to the compiler. They are useful for runtime instrumentation and static analysis. @@ -424,7 +423,6 @@ menuconfig GCC_PLUGINS config GCC_PLUGIN_CYC_COMPLEXITY bool "Compute the cyclomatic complexity of a function" if EXPERT depends on GCC_PLUGINS - depends on !COMPILE_TEST help The complexity M of a function's control flow graph is defined as: M = E - N + 2P @@ -487,7 +485,6 @@ config GCC_PLUGIN_STRUCTLEAK_BYREF_ALL config GCC_PLUGIN_STRUCTLEAK_VERBOSE bool "Report forcefully initialized variables" depends on GCC_PLUGIN_STRUCTLEAK - depends on !COMPILE_TEST help This option will cause a warning to be printed each time the structleak plugin finds a variable it thinks needs to be @@ -527,7 +524,6 @@ config GCC_PLUGIN_RANDSTRUCT config GCC_PLUGIN_RANDSTRUCT_PERFORMANCE bool "Use cacheline-aware structure randomization" depends on GCC_PLUGIN_RANDSTRUCT - depends on !COMPILE_TEST help If you say Y here, the RANDSTRUCT randomization will make a best effort at restricting randomization to cacheline-sized