2009-10-10 21:25:47

by Ben Dooks

[permalink] [raw]
Subject: make mrproper not resetting kernel saved arch

Having accidentally configured for the wrong arch, I tried going back to ARM
but got the following errro:

Makefile:210: *** ARCH changed from "x86_64" to "arm". Use "make mrproper" to fix it up. Stop.

Trying to do 'make mrproper' repeats the error:

$ make mrproper
Makefile:210: *** ARCH changed from "x86_64" to "arm". Use "make mrproper" to fix it up. Stop.

I ended up doing 'rm -r include/generated' to get rid of this.

My makefile understanding isn't good enough to repair this, so can someone
please fix this.

--
Ben ([email protected], http://www.fluff.org/)

'a smiley only costs 4 bytes'


2009-10-10 22:18:17

by Ben Dooks

[permalink] [raw]
Subject: Re: make mrproper not resetting kernel saved arch

On Sat, Oct 10, 2009 at 10:25:05PM +0100, Ben Dooks wrote:
> Having accidentally configured for the wrong arch, I tried going back to ARM
> but got the following errro:
>
> Makefile:210: *** ARCH changed from "x86_64" to "arm". Use "make mrproper" to fix it up. Stop.
>
> Trying to do 'make mrproper' repeats the error:
>
> $ make mrproper
> Makefile:210: *** ARCH changed from "x86_64" to "arm". Use "make mrproper" to fix it up. Stop.
>
> I ended up doing 'rm -r include/generated' to get rid of this.
>
> My makefile understanding isn't good enough to repair this, so can someone
> please fix this.

Add changing cross compiler to this list.

2009-10-11 11:05:07

by Peter Zijlstra

[permalink] [raw]
Subject: Re: make mrproper not resetting kernel saved arch

On Sat, 2009-10-10 at 23:17 +0100, Ben Dooks wrote:
> On Sat, Oct 10, 2009 at 10:25:05PM +0100, Ben Dooks wrote:
> > Having accidentally configured for the wrong arch, I tried going back to ARM
> > but got the following errro:
> >
> > Makefile:210: *** ARCH changed from "x86_64" to "arm". Use "make mrproper" to fix it up. Stop.
> >
> > Trying to do 'make mrproper' repeats the error:
> >
> > $ make mrproper
> > Makefile:210: *** ARCH changed from "x86_64" to "arm". Use "make mrproper" to fix it up. Stop.
> >
> > I ended up doing 'rm -r include/generated' to get rid of this.
> >
> > My makefile understanding isn't good enough to repair this, so can someone
> > please fix this.
>
> Add changing cross compiler to this list.

Yeah 575543347b5baed0ca927cb90ba8807396fe9cc9 is utterly annoying and is
breaking build scripts all over the planet.

All because people don't know how to use their shell.