Hi Inaky/All

--- On Thu, 1/27/11, Inaky Perez-Gonzalez <[email protected]> wrote:

> From: Inaky Perez-Gonzalez <[email protected]>
> Subject: Re: [PATCH 0/6] wimax-network-service big-endian patches
> To: "Doug Kehn" <[email protected]>
> Cc: [email protected]
> Date: Thursday, January 27, 2011, 1:42 PM
> Hi Doug
> 
> On Wed, 2011-01-26 at 14:22 -0800, Doug Kehn wrote: 
> > Hi All,
> > 
> > I've been working toward getting wimax running on an
> Intel IXP-435 (ARM
> >  XSCALE big-endian) processor.  wimax is
> [finally] running on the
> >  IXP-435.  This patch-set are the changes I
> made to get wimax working. 
> >  These patches are against the HEAD of the git
> repository.  I did
> >  single-file commits to make reviewing easier.
> > 
> > I did not test these changes on a little-endian
> machine.  The endian
> >  patches should work on a little-endian
> machine.  The alignment patches
> >  may/may-not work.
> > 
> > I do have 4 additional patches that are, IMHO,
> specific to the IXP-435
> >  and/or my environment.  These patches are
> not included in the
> >  patch-set.  I'll be happy to forward them
> to the list or to anyone who
> >  wants them.
> 
> This is awesome, thanks!
> 
> I'll take a pass at them tomorrow (mainly integrate and
> test on my setup
> to double check nothing twists the wrong side, but they
> look pretty
> straightforward to me).
> 

I forgot about some Makefile.in/Makefile.am fix-ups when building for 
big-endian. Makefile.in/Makefile.am have some hard-coded little-endian defines. 
I'm too lazy to figure out how to fix the automake stuff so I just alter the 
makefiles before calling configure.  The fix-ups look like:

list=`find . -name 'Makefile*' | xargs grep -l BMI_MACHINE_ENDIANNESS_LITTLE`; \
for f in $$list; do \
    sed -i -e 's/BMI_MACHINE_ENDIANNESS_LITTLE/BMI_MACHINE_ENDIANNESS_BIG/g' 
$$f; \
done

list=`find . -name 'Makefile*' | xargs grep -l BMI_ENDIANNESS_LITTLE`; \
for f in $$list; do \
     sed -i -e 's/BMI_ENDIANNESS_LITTLE/BMI_ENDIANNESS_BIG/g' $$f; \
done

Regards,
...doug



      
_______________________________________________
wimax mailing list
[email protected]
http://lists.linuxwimax.org/listinfo/wimax

Reply via email to