[PATCH] powerpc/Makefile: Use cflags-y/aflags-y for setting endian options
Michael Ellerman
mpe at ellerman.id.au
Wed Aug 10 15:20:08 AEST 2016
Nicholas Piggin <npiggin at gmail.com> writes:
> On Tue, 9 Aug 2016 22:43:46 +1000
> Michael Ellerman <mpe at ellerman.id.au> wrote:
>> diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
>> index ca254546cd05..1934707bf321 100644
>> --- a/arch/powerpc/Makefile
>> +++ b/arch/powerpc/Makefile
>> @@ -66,29 +66,28 @@ endif
>> UTS_MACHINE := $(OLDARCH)
>>
>> ifeq ($(CONFIG_CPU_LITTLE_ENDIAN),y)
>> -override CC += -mlittle-endian
>> -ifneq ($(cc-name),clang)
>> -override CC += -mno-strict-align
>> -endif
>> -override AS += -mlittle-endian
>> override LD += -EL
>> -override CROSS32CC += -mlittle-endian
>> override CROSS32AS += -mlittle-endian
>
> Can't we get rid of CROSS32AS? If not, then should it get the
> -mbig-endian override?
It's unused. I have a patch to remove it lying around, let me dig up
that series.
cheers
More information about the Linuxppc-dev
mailing list