linux-mips
[Top] [All Lists]

Re: PATCH: Handle Linux/mips (Re: Why is byteorder removed from /proc/cp

To: Ben Elliston <bje@redhat.com>
Subject: Re: PATCH: Handle Linux/mips (Re: Why is byteorder removed from /proc/cpuinfo?)
From: Daniel Jacobowitz <dan@debian.org>
Date: Mon, 10 Dec 2001 09:21:04 -0500
Cc: "H . J . Lu" <hjl@lucon.org>, Ralf Baechle <ralf@oss.sgi.com>, linux-mips@oss.sgi.com
In-reply-to: <15380.33671.382927.402138@scooby.brisbane.redhat.com>
References: <20011206093506.A6496@lucon.org> <20011206155724.A11083@dea.linux-mips.net> <20011206103605.A7366@lucon.org> <15380.25324.287595.674046@scooby.brisbane.redhat.com> <15380.33671.382927.402138@scooby.brisbane.redhat.com>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.3.23i
On Mon, Dec 10, 2001 at 08:42:31PM +1100, Ben Elliston wrote:
> >>>>> "Ben" == Ben Elliston <bje@redhat.com> writes:
> 
>   Ben>   cpu=`cpp << EOF | grep ^mips
> 
> Of course, this needs some refinement.  ;-) Perhaps we need to run
> through $(CC_FOR_BUILD) -E or somesuch; cpp is no good, as it won't
> know all of the magic '*MIPS*' #defines.

HJ's patch didn't compile anything; it ran code through
$(CC_FOR_BUILD) -E :)

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer

<Prev in Thread] Current Thread [Next in Thread>