Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3854857imm; Mon, 6 Aug 2018 11:44:44 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfxss9QrLu1uGYStWfiMuAC2KDRKsvgutXMV0zwAJMzWsSGiItG662hjlXzakBIgPg7hxZM X-Received: by 2002:a62:ad1:: with SMTP id 78-v6mr18259127pfk.57.1533581084740; Mon, 06 Aug 2018 11:44:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533581084; cv=none; d=google.com; s=arc-20160816; b=NzwsKohpDTyM4IxfZwyXRsOSiTzMS+oQ90BSE9JfuVzWGZfVCgQMhzG/i9Z+Mpui3I OlZM6ekQPVmBvMOaMiovdgY5bKg2trZbKnEsUvFl4RQzFhFyxzo+gdch3zVKwqeqO1BT amz1srd7kW56j4Y9anX2zBeJFJY7pwi+2dZPGzhYkTHXpyM54LBJ2ouYe1TFARXc+pNe RJ7VEu3foX1WHEw1+CV3kAv94bLzt0SU9K3PJgH5JypSmml4Vu6Jrg4Bu8s/tG1yRSct 83Ky9jEMkHByMPhAA9+TWdsw3VnnQcGleLaMF6a+kWPIzsq/+VCPsAGfr6HepvpaqjYK VjLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=/clkvDXRyUGNerCigmcdjFbVkJMcSCUBEvuq+o5YM/Y=; b=XRzgBDYTKJs39dmaBoYV0aFDqLbFHtJytAqfaDkc1SZh58neGM4JMHn6i7DpXQFmMv m9m92doGSpAwomhKlq9fzldYg5v8Na3abBmXInDxIZ8W/++0BQmbuKsqEBFsg5a9vuEs ze9eMundb1u48VGi0O5CCXeiKR4bq2EonQVkpJwegTZS7FSH21eV3VjBDa3fVtp8Dqsl HmObuts0s/K27WHsq2PMMO/jh1u9ZL9S1y497pkVEegfDdW/F2m/qOzSOUmTbT46aYl2 zwG53MlLnqahem/fxqidih18e9KSQGENY6JPxgQVPaficoD6mpM4k6YIj24VQ4yU1Tbp fsfw== 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 n21-v6si10044614plp.31.2018.08.06.11.44.29; Mon, 06 Aug 2018 11:44:44 -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; 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 S1732872AbeHFUny (ORCPT + 99 others); Mon, 6 Aug 2018 16:43:54 -0400 Received: from mx2.suse.de ([195.135.220.15]:43314 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728601AbeHFUnx (ORCPT ); Mon, 6 Aug 2018 16:43:53 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 0FD2FADF1; Mon, 6 Aug 2018 18:33:31 +0000 (UTC) Received: by unicorn.suse.cz (Postfix, from userid 1000) id BA05AA10C2; Mon, 6 Aug 2018 20:33:29 +0200 (CEST) Date: Mon, 6 Aug 2018 20:33:29 +0200 From: Michal Kubecek To: Masahiro Yamada Cc: Michal =?iso-8859-1?Q?Such=E1nek?= , Linux Kernel Mailing List , Takashi Iwai , Andreas Schwab , Michal Marek , Jonathan Corbet , Yoshinori Sato , Rich Felker , "David S. Miller" , Jeff Dike , Richard Weinberger , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , X86 ML , Kees Cook , Philippe Ombredanne , Greg Kroah-Hartman , Ulf Magnusson , Jeff Mahoney , "Peter Zijlstra," , Mathieu Desnoyers , Frederic Weisbecker , Randy Dunlap , Dominik Brodowski , Nicholas Piggin , Linux Kbuild mailing list , "open list:DOCUMENTATION" , Linux-sh list , sparclinux , linux-um@lists.infradead.org Subject: Re: due to kconfig changes kernel config file is no longer sufficient for configuring the kernel Message-ID: <20180806183329.qditzzemevdafcwb@unicorn.suse.cz> References: <20180627143705.5a1fed1c@kitsune.suse.cz> <20180628111623.3807fe9b@naga.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170912 (1.9.0) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 30, 2018 at 05:02:42PM +0900, Masahiro Yamada wrote: > > For exmaple 'make ARCH=arm config' will create the config suitable > only for ARM architecture. > Then, you need to do 'make ARCH=arm' to build the kernel. > > If it is tedious to give 'ARCH=arm' to every make command, > you can do 'export ARCH=arm' in your shell. > > Again, this is the behavior we have for a long time. Actually, this no longer works reliably. For example, when I run ARCH=powerpc make oldconfig with our ppc64le config on x86_64 system, I get different result than when I run it on an actual ppc64le system (or when using a ppc64le cross compiler on x86_64). Since .config started to mix user configuration and build environment capabilities, maintaining distribution configs became real pain. And it's getting progressively worse. Michal Kubecek