[DNX#2006040142000026] [U-Boot-Users] [PATCH] include top config.mk only [...]

DENX Support System support at denx.de
Sat Apr 1 00:20:03 CEST 2006


Hello list,

inside the automatic U-Boot patch tracking system a new ticket
[DNX#2006040142000026] was created:

<snip>
> Friedrich Lobenstock wrote:
> > Hi Wolfgang!
> > 
> > During compiling I just spotted the fact that
> >   gccincdir := $(shell $(CC) -print-file-name=include)
> > in the top config.mk does execute "gcc -print-file-name=include" instead 
> > of "m68k-elf-gcc ..." which I would expect as i compile for m68k. I 
> > think that this does not make much difference as the includes should 
> > mostly be the same, but for the sake of completeness I want to bring the 
> > attached patch to your attention.
> 
> Bump & resubmit...
> 
> This particular issue broke cross-compilation for all of our ARM-based
> projects following a repository sync yesterday.
> 
> The attached patch was generated against a 2005.11.29 CVS pull.
> 
> CHANGELOG:
> * Patch by Cory Tusar, 30 Nov 2005:
> * Original patch by Friedrich Lobenstock, 01 Jun 2005:
>    CROSS_COMPILE is referenced in the top 'config.mk' file, therefore
>    we need to include it in the main Makefile only after CROSS_COMPILE
>    has been defined.
> 
> -Cory
> 
> 
> -- 
> Cory T. Tusar
> Embedded Systems Engineer
> Videon Central, Inc.
> 2171 Sandy Drive
> State College, PA 16801
> (814) 235-1111 x316
> (814) 235-1118 fax
> 
> "Debugging is twice as hard as writing the code in the first place.
>    Therefore, if you write the code as cleverly as possible, you are,
>      by definition, not smart enough to debug it."  --Brian W. Kernighan
</snip>

Your U-Boot support team




More information about the U-Boot mailing list