linux-mips
[Top] [All Lists]

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

To: "H . J . Lu" <hjl@lucon.org>, Ralf Baechle <ralf@oss.sgi.com>, linux-mips@oss.sgi.com
Subject: Re: PATCH: Handle Linux/mips (Re: Why is byteorder removed from /proc/cpuinfo?)
From: Ben Elliston <bje@redhat.com>
Date: Mon, 10 Dec 2001 20:42:31 +1100 (EST)
In-reply-to: <15380.25324.287595.674046@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>
Sender: owner-linux-mips@oss.sgi.com
>>>>> "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.

Ben

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