From: David M. <da...@th...> - 2006-05-31 20:52:26
|
Thank you Dave, that explains why the tool chain is sniffing down my X86 paths. That clears my paranoia a bit. :-) Is simply commenting out the lines in the include file safe for the moment or is it better to revert to the earlier code base? I commented out the lines and it did build to completion a few minutes ago. Cheers, David Dave Hylands wrote: > Hi David (and others) > > On 5/31/06, David Mandala <da...@th...> wrote: >> Hi Dave, >> >> I've included the info you asked about intermingled below. I read the >> later posts to this topic and saw you though the problem was that I >> don't have the kernel source installed on this machine. I'm more then a >> bit confused, why do I need the kernel sources installed locally to do a >> cross-compile for ARM? Would not the kernel sources for the >> cross-compile be enough? Shouldn't the cross-compile environment be >> completely standalone? Why is anything looking down my /usr/include path >> at all I would have expected everything to be somewhere within the >> gunstix-buildroot. > > So where it's failing is when its trying to build the u-boot tools. > These tools are compiled using the host compiler and not the cross > compiler. For example, the mkimage tool is used to take the kernel and > wrap it up with the appropriate magic and create the uImage file. > mkimage runs on your build machine and not on the gumstix. > > I dug into this a little bit more and discovered that if I did a "make > clobber" in my u-boot tools directory and rebuilt, then mine was > failing too. > > It appears that Craig broke it in revision 993. He added a #include > "asm/arch/pxa-regs.h" to the include/configs/gumstix.h file in u-boot > (gotta love SVN). > > Anyways this little addition works great when you're building u-boot > properly but causes all of the problems you guys are seeing when > trying to build the tools directory. > > So, until Craig fixes it, I'd recommend going back to 992 (perhaps you > only need to revert u-boot to 992). > > Anyways, the u-boot files in svn are located in the target/arm/u-boot > directory in case you just want to revert those files. > |