From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752351AbbDCVn7 (ORCPT ); Fri, 3 Apr 2015 17:43:59 -0400 Received: from lb1-smtp-cloud3.xs4all.net ([194.109.24.22]:56183 "EHLO lb1-smtp-cloud3.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750739AbbDCVn4 (ORCPT ); Fri, 3 Apr 2015 17:43:56 -0400 Message-ID: <1428097434.7898.37.camel@x220> Subject: Re: [PATCH] x86/Kconfig: Fix allnoconfig without explicitly specified ARCH From: Paul Bolle To: Borislav Petkov Cc: Ingo Molnar , X86 ML , LKML Date: Fri, 03 Apr 2015 23:43:54 +0200 In-Reply-To: <20150403172312.GK3418@pd.tnic> References: <1428058828-19302-1-git-send-email-bp@alien8.de> <1428068538.2491.14.camel@tiscali.nl> <20150403145950.GE3418@pd.tnic> <1428075183.2491.21.camel@tiscali.nl> <20150403172312.GK3418@pd.tnic> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4 (3.10.4-4.fc20) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2015-04-03 at 19:23 +0200, Borislav Petkov wrote: > On Fri, Apr 03, 2015 at 05:33:03PM +0200, Paul Bolle wrote: > > Well, "when building on 32 bits" it currently suffices to do: > > make allnoconfig > > > > and the patch changes that. > > Hmm, so this would need more staring. The fact that 64-bit needs to set > CONFIG_64BIT, we would need a way to say: > > option allnoconfig_y if ARCH = "x86" > > And Kconfig doesn't support that yet... The fact that "make allnoconfig" and "make allyesconfig" can give you a .config for another subarchitecture is annoying. I think it would be nice if we teach those make targets (through tweaks in Kconfig files and/or Makefiles) to avoid doing that. Not sure, yet, how a clean way to do that might look like, sorry. Paul Bolle