Subject: Re: MACHINE_ARCH vs. OBJ_ARCH
To: Jason Thorpe <thorpej@nas.nasa.gov>
From: Todd Vierling <tv@pobox.com>
List: tech-toolchain
Date: 07/27/1998 15:38:32
On Mon, 27 Jul 1998, Jason Thorpe wrote:

:  > ${MACHINE_ARCH:C/^mips.*/mips:C/^sparc.*/sparc/:C/^680.0/m68k/:C/^ppc.*/ppc/:C/^new-arch.*/new-arch/....}
:  > 
:  > Or am I misunderstanding something?
: 
: You're misunderstanding something.  This is only done in the MIPS case to
: handle generic MIPS sources with a machine arch of "mipsel" or "mipseb".

And even then, some of the conversions have been added as :S/^mips$/mipsel/
and are marked temporary-only so that old make binaries will still work
(these are the toolchain cases where mipseb and mipsel make a big
difference).

The :C/^mips.*/mips/ rule is for the funky stuff like src/libc/arch/ where
the two architectures can share source code.  This isn't the same as, say,
680x0, but might be the same for powerpc and powerpcle (though let's hope we
do not end up with the latter).

-- 
-- Todd Vierling (Personal tv@pobox.com; Bus. todd_vierling@xn.xerox.com)