From patchwork Fri Feb 16 21:41:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 128645 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp1007002ljc; Fri, 16 Feb 2018 13:42:44 -0800 (PST) X-Google-Smtp-Source: AH8x227Y1ToQMqH+ryjjnc31RSvwnEjHf0OdS1TK9CEFtM2/PQJZqCl1pbjA1f305faTNIBzu0/R X-Received: by 2002:a17:902:7d8d:: with SMTP id a13-v6mr7011658plm.304.1518817363868; Fri, 16 Feb 2018 13:42:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518817363; cv=none; d=google.com; s=arc-20160816; b=uNmo0QGU27ToOoWg3eJncXgMdCLVOIDkvAcVgGjRkdsj3ZRZYhVbB+q9B49LyB+Coe wjsXu9eSQkMBN6fAjiVyxc3xAPSidzFmiO+tbPTlHygCx9rWKRx7vr2BzRuhVrlXSzYm aRmptjgKLweUJp70/vmdhAXFOH/vdFl9t+W5+38ssjEhtn4Qyx1CEBkHswKyRp6JOYUJ bxShWVALPvn2ad4qWxKtOHPA9qo2eMqodlRqfieP25p2UEIuviZQq8+l1ojv5jn6u7Gs gQnMd7X9PZqAufuOoY2J4ch1LaCNHph7RNUDQb8fM+AxUWIci9ma2VsSU336oRIoagR5 L/lA== 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=H8SfGIw0IGFYOxNg59+eUUL0yYltkloS4qpbUXfs9Nc=; b=FuKu3w86MUZBRro33qqwpAM0LqS3OIM4nSjL1fHblWzHUBm5YjmLbIkUK4Ro6u/htp 7g8iFhml3zIxsBdtesSbwxOwXyq4b16i6eMghzc9cBObGH7BV4xLAhgkP1h0HmR/5k2C Ma67cVqn6aEpdgHbby9y9JB6Ug+i+2XaDI8M8/GBt81xuMycCzrk5KXarpJ8BqSLwJ+r QxO6ZkTYMFNUNHR9rYmLWoKXwihfUWifVhtI2fvrF5zBcNuhl1a8dgShpzbCZRXxHwF5 DBFZCcdAvy/5GmEyoBoVX8jeq4i3lLhnKoRw28IDGcL9V+b068l40QvOVEF9ABZ/ekBT GN2A== 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 j2si695496pgp.468.2018.02.16.13.42.43; Fri, 16 Feb 2018 13:42:43 -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 S1751176AbeBPVmk (ORCPT + 28 others); Fri, 16 Feb 2018 16:42:40 -0500 Received: from mout.kundenserver.de ([217.72.192.73]:45185 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751009AbeBPVmh (ORCPT ); Fri, 16 Feb 2018 16:42:37 -0500 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue105 [212.227.15.145]) with ESMTPA (Nemesis) id 0MTP5b-1fBFS73myt-00SR9F; Fri, 16 Feb 2018 22:42:29 +0100 From: Arnd Bergmann To: linux-kbuild@vger.kernel.org Cc: "Yann E . MORIN" , Masahiro Yamada , Michal Marek , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Arnd Bergmann Subject: [PATCH 3/3] Kconfig: add a default allrandom.config Date: Fri, 16 Feb 2018 22:41:13 +0100 Message-Id: <20180216214117.1947175-4-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20180216214117.1947175-1-arnd@arndb.de> References: <20180216214117.1947175-1-arnd@arndb.de> X-Provags-ID: V03:K0:2DIC57SRIHN6L4/FxhZbOjyeoe3iQokjdOLws9JYYmeSPhCJjJs KzokFHkD0erXyUpBKYtP5suh5NwCGQLo7f2Fx5GVTwkvI2oYF6wqEMwZafGTFmbSlc8cPve FdV+9ZzfDRjdq6F2WPVGboEux5U2vX13eeCLIpO5AFDgxvPJQfVRAarnaa4eput5mCmDMaw AfDxfZ4CZNf8m7g72wp1w== X-UI-Out-Filterresults: notjunk:1; V01:K0:XZn+0LO7HE4=:Czydb2kFXksiVAWj2pPhUd L/V4gSeru1vxzj5jhbe5gisWB7vJ5UgD2bv7IzX1Uccb/EK00Rc5BYQ+c3tRko+IYQQAVSZXX frB7t4Oh4+WvwU6OXvs4FIjyWWQ/5BKUvcP1xxf7x45+n8+N641yP3b7pZrSb7xfZev7W8jTi r3GFI4e8HTiC8a4jdaGbvNrqp9oQoNrnyOykhx3+iwzbU9q2dUat2aGBSv1diaHzTpBj0zLu3 X/EfUjk2tKMvjonYsqvG/gkfEMtPn0kOY/qhjS0SD2m1+KVK11pWy1i8zA6HdkUqVrExoKRmA RTDjLBUJEjylb9xrrRNbw2seC+5PFmJccowx2bkNPCYDbahNgLw+NRiik3ugYZRqCkcSX9vB4 8Rjs02oiwiVoPjfSwvJxvZDSVjOJzhQ6EERyCq8uf+of8NvI8anBVTsjP3CYZRtcN9/FF16eg RxVMAxeYk8r98aRbXN+veHb/4wTxSJhUvNmTWZc3ds9NzHBtebDxCqoxZc48W9Ia1HEwCR41a f4pITNC2B4R882AzjvSBOT0mHv9HBZi+PWj2kUYjGZMgnP4Rw6PIXWjc+L+OivRGprvQ62eRl F1oSd53jEnAZOcr+vYXqD12yZThF8NHAelGgSP5rbTbo5501pAii/MM1CgsEdn4pt25t1VMc+ 0L8yeDYx0CXT02YrKmp0ci3+kTdIoneaDWmKW3TFkhXGFh2/FIQHKQ2TVszvGyZ8auSobaPYo fyNujs+ELYynePyr1NJS+DqRAs00SEnya0M0EQ== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Building randconfig kernels frequently leads to build errors from drivers that have additional build dependencies, or that we don't want to build for compile-testing for some other reason. We already have a couple of compile-time options that can deal with this problem, but the complete set is not documented well. We also have a method to override some options during 'make randconfig' and a couple of other make targets. However, we don't yet combine those two. This adds a new allrandom.config file to turn on CONFIG_COMPILE_TEST, CONFIG_STANDALONE and CONFIG_PREVENT_FIRMWARE_BUILD for all randconfig builds. This in turn disables some other options that we already try to avoid in 'allmodconfig' builds and that make no sense in a general randconfig build. Building with 'make randconfig KCONFIG_ALLCONFIG=1' should now always succeed without warnings on x86 and arm64, aside from recent regressions. Other architectures probably need additional bugfixes. Signed-off-by: Arnd Bergmann --- kernel/configs/allrandom.config | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 kernel/configs/allrandom.config -- 2.9.0 diff --git a/kernel/configs/allrandom.config b/kernel/configs/allrandom.config new file mode 100644 index 000000000000..67294ef2e3a2 --- /dev/null +++ b/kernel/configs/allrandom.config @@ -0,0 +1,6 @@ +# maximize search space, disable options not worth testing +CONFIG_COMPILE_TEST=y + +# reduce compile-time dependencies +CONFIG_STANDALONE=y +CONFIG_PREVENT_FIRMWARE_BUILD=y