From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752302AbbJBHs6 (ORCPT ); Fri, 2 Oct 2015 03:48:58 -0400 Received: from ozlabs.org ([103.22.144.67]:55860 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751904AbbJBHrM (ORCPT ); Fri, 2 Oct 2015 03:47:12 -0400 X-powerpc-patch-notification: thanks X-powerpc-patch-commit: e5e16d8f3ec6973af2068897786be619cf97860e In-Reply-To: <1441583880-17824-1-git-send-email-boqun.feng@gmail.com> To: Boqun Feng , linuxppc-dev@lists.ozlabs.org From: Michael Ellerman Cc: Arnd Bergmann , Geoff Levand , Boqun Feng , linux-kernel@vger.kernel.org, Paul Mackerras , Olof Johansson Subject: Re: powerpc: Kconfig: remove BE-only platforms from LE kernel build Message-Id: <20151002074710.99988140B00@ozlabs.org> Date: Fri, 2 Oct 2015 17:47:10 +1000 (AEST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 2015-06-09 at 23:58:00 UTC, Boqun Feng wrote: > Currently, little endian is only supported on powernv and pseries, > however, Kconfigs still allow us to include other platforms in a LE > kernel, this may result in space wasting or even build error if some > BE-only platforms always assume they are built for a BE kernel. So just > modify the Kconfigs of BE-only platforms to remove them from being built > for a LE kernel. > > For 32bit only platforms, nothing needs to be done, because > CPU_LITTLE_ENDIAN depends on PPC64. For 64bit supported platforms, add > CPU_BIG_ENDIAN to dependencies explicitly, so that these platforms will > be disabled for LE [Suggested-by: Cédric Le Goater ]. > > Signed-off-by: Boqun Feng > Acked-by: Geoff Levand Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/e5e16d8f3ec6973af2068897 cheers