Subject: Re: linux-next: build failure after merge of the final tree (Linus' tree related - powerpc)

From: Michael Ellerman <[email-masked]>
Date: Thu, 21 Nov 2013 23:11:28 +1100

On Thu, Nov 21, 2013 at 02:33:34PM +1100, Anton Blanchard wrote:
> 
> Hi,
> 
> > After merging the final tree, today's linux-next build (powerpc
> > allyesconfig) failed like this:
> > 
> > <stdin>:1:0: error: -mcall-aixdesc must be big endian
> 
> Urgh, allyesconfig is building an LE kernel. Ian: do we need to reverse
> the polarity of the option, and call it CONFIG_CPU_BIG_ENDIAN?

More or less. See what we did with PPC_WERROR, for the same reasons, so
that it was off for an allyesconfig.

    config PPC_DISABLE_WERROR
            bool "Don't build arch/powerpc code with -Werror"
            default n
    
    config PPC_WERROR
            bool
            depends on !PPC_DISABLE_WERROR
            default y

cheers