[U-Boot-Users] [PATCH] AVR32: Change prototype of memset

Hans-Christian Egtvedt hcegtvedt at atmel.com
Mon Aug 27 15:17:20 CEST 2007


On Mon, 2007-08-27 at 15:07 +0200, Haavard Skinnemoen wrote:
> [Adding u-boot-users to Cc]
> 
> On Mon, 20 Aug 2007 19:00:01 +0300
> Semih Hazar <semih.hazar at indefia.com> wrote:
> 
> > Signed-off-by: Semih Hazar <semih.hazar at indefia.com>
> > ---
> > 
> > The current top of the git tree doesn't compile. This patch changes
> > the prototype according to other architectures. 
> 
> Indeed. Wonder why a file compiled for the _host_ starts pulling in
> avr32-specific include files...
> 
> Anyway, I've applied your patch since it fixes the build. But I can't
> help but wonder if using target-specific headers when compiling stuff
> for the host is a disaster waiting to happen...

It is, Qtopia4 in Buildroot had a similar problem and crashed horribly
when I tried compiling it for AVR32 arch.

<cut error message and patch>

-- 
With kind regards,
Hans-Christian Egtvedt, Applications Engineer





More information about the U-Boot mailing list