Received: by 10.192.165.156 with SMTP id m28csp726157imm; Thu, 19 Apr 2018 06:37:18 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+96c3Rkw0nQ5X58Z4dq1AkQwpv3f9Zfe9JEJo5W40TcUxGIfM0a9dmd3YldE10tDCzobcQ X-Received: by 2002:a17:902:8606:: with SMTP id f6-v6mr6206356plo.258.1524145038581; Thu, 19 Apr 2018 06:37:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524145038; cv=none; d=google.com; s=arc-20160816; b=jqO5+rZFUKBB5068X5NwE86tnDcMUXlCJcppZEFTq5RNxuDobk+KK2r9hhY/tsvuGQ ii4PgW0OPNwcgNvfKkYh+ELPu1lRUhaaSTZkxPYRiqMYTZJX95pGkPq83F/IU/koeLqd l0RK2rzQ4vfT2V3I3C+Lo9dX6l8l87omXa71mwB5tB56I6GxS4OJ3o/mCq646OUMMrNx 1qbP7iFokODf5Jwb4nt6kyTIxpUevO654m/eyVfLI44pmd8nrQzvyXY9NipaHEs3rRmB nsClh3+1szPfXG9RSMrqbGmrhdXtbchIVd2drRsJPDhQaArhaqSABicrEDANOKkaHVC5 7FhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=Z2LvljD59GFBd3JIT03WFVHQXtfoa0UhG7Ky+7/b+0c=; b=UvFS6EvzJmbhy+HqriyUecPrj4JB6ouPjHh4i8MUf4H5DCVI59FWbr9TiUnGvrdaqI 7M88vw7t4QnEU5g7+eyswpAle3jFU2QM+qXA2fLXJtlyBAZhjrw9AgWNa3B2l9dXHoYD 03pIS17k5z47EsTPxCodGjoYGXJEKS4HPpSjT1hWeojtzBXOEx514o8UxhETW6B15EbR haC6GF/RgdaY6KNJYocMW3qxQOpBSsDgPabBKTHuqAgMNGZmca9+6QgLyf98XAEAwtjS Eh99x8EuUBTAr3yfMsDVU4jAHNCLlwYta8pYXbhXeE2vNy28pGzOnyE0Z7cs7UFvvOZj Knig== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=ewuGsNBJ; 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 7-v6si3477416pll.132.2018.04.19.06.37.04; Thu, 19 Apr 2018 06:37:18 -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=fail header.i=@gmail.com header.s=20161025 header.b=ewuGsNBJ; 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 S1753695AbeDSNfZ (ORCPT + 99 others); Thu, 19 Apr 2018 09:35:25 -0400 Received: from mail-qk0-f196.google.com ([209.85.220.196]:46576 "EHLO mail-qk0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753675AbeDSNfU (ORCPT ); Thu, 19 Apr 2018 09:35:20 -0400 Received: by mail-qk0-f196.google.com with SMTP id s70so5353853qks.13 for ; Thu, 19 Apr 2018 06:35:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=Z2LvljD59GFBd3JIT03WFVHQXtfoa0UhG7Ky+7/b+0c=; b=ewuGsNBJpHVcvjehlnZR5/oNvnKjSHfuOm0NVc/yoFMOzIVBXyNAz6BL0cDRa6W5/Y 3ccace1BZUgPKXSJNpOhGwOoGZOB+F5S3FJanEMluQT5asQOtwp3B0QtUBbZSNwo9dTW E/UlCkiWnSKlHuEP5C38DQcCXgLAyqEIm4hc17grNDAu9MZo+fdyQoonfH4ZZVTomzSo nseQ+U7CPPmRUwz7SEuq7F2Q2RGzBKhsAyUaK2BRvmfUEfngk0Xj7QrknsQYLJGYWwbo 35qcQWFwpw8YQUVq2pDaxIbCdCNhPaBtrGhI02ZP6FbA/BP6+EBQ8tOxSYDX968SN4Xh i1Ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=Z2LvljD59GFBd3JIT03WFVHQXtfoa0UhG7Ky+7/b+0c=; b=VYMHQeQVk+isZlb2X2hbyMhKP/dn/01MzNq1mAGyXnhsER1JxDKKMqRBHkzWgJMeYj 6w7mRoFOglGhcORrlVQh3qJiIaUlR3rIUXScAmqBCznMgNjh5Iky4vfduEQ/ocGZ3YOB kp1Tv6PEhZfvwCrHu5qkBiTUwn7L3af3au0fcVn8AZw31DhRvNsVIBkwWDvZEkMDFx44 JZy6mp/YV2no3PFcud9R0YlmYITLSMHcdau8ve7HIDPfaVpKsO3ZALI2lvcT+ygVA16C vo3KKCxpJ2FvWlH8L3vqZOmhJFmKDmacGUA1UfyNIft/NEEBJtYVGneX3hHxVikY12pH wbEg== X-Gm-Message-State: ALQs6tBwaSQoWLvukFdTpFdhH/OWK3GwiZn4UxZSXEvA1RssYK+xb7AN +2xfQADn1/3PHOCY+yCBQIkFXAKzY3qAFew36UI= X-Received: by 10.55.149.70 with SMTP id x67mr5656248qkd.202.1524144919621; Thu, 19 Apr 2018 06:35:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.185.25 with HTTP; Thu, 19 Apr 2018 06:35:19 -0700 (PDT) In-Reply-To: <21ef6561299cdbbe0f3571c5048a2eaf5eb43bc7.1524143428.git.greentime@andestech.com> References: <347705ade75b5901537034561fd67311b1260358.1524143428.git.greentime@andestech.com> <21ef6561299cdbbe0f3571c5048a2eaf5eb43bc7.1524143428.git.greentime@andestech.com> From: Arnd Bergmann Date: Thu, 19 Apr 2018 15:35:19 +0200 X-Google-Sender-Auth: hn7fi26gTbDlGrpKa_slKDzcQPU Message-ID: Subject: Re: [PATCH 9/9] nds32: Fix the allmodconfig build. To make sure CONFIG_CPU_LITTLE_ENDIAN is default y To: Greentime Hu Cc: Linux Kernel Mailing List , Greentime , Guenter Roeck Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 19, 2018 at 3:18 PM, Greentime Hu wrote: > This way we can build kernel with CONFIG_CPU_LITTLE_ENDIAN=y and allmodconfig > will be available. > > Signed-off-by: Greentime Hu > --- > arch/nds32/Kconfig.cpu | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/arch/nds32/Kconfig.cpu b/arch/nds32/Kconfig.cpu > index ba44cc539da9..b8c8984d1456 100644 > --- a/arch/nds32/Kconfig.cpu > +++ b/arch/nds32/Kconfig.cpu > @@ -1,10 +1,11 @@ > comment "Processor Features" > > config CPU_BIG_ENDIAN > - bool "Big endian" > + def_bool !CPU_LITTLE_ENDIAN > > config CPU_LITTLE_ENDIAN > - def_bool !CPU_BIG_ENDIAN > + bool "Little endian" > + default y Can you still build 'allnoconfig' after this? It will default to big-endian now, and I'm not sure if this works with an nds32le toolchain. On other architectures, we pass -mlittle-endian/-mbig-endian to the compiler to force it into whichever mode the kernel is configured for, but you don't seem to do that (or your gcc can't do it maybe). Arnd