Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] issues with svn version
@ 2006-12-14  0:41 Joe Pruett
  2006-12-14  0:51 ` Joe Pruett
  0 siblings, 1 reply; 3+ messages in thread
From: Joe Pruett @ 2006-12-14  0:41 UTC (permalink / raw)
  To: buildroot

a clean svn build immediately fails because linux-libc-headers can't be 
found in the dl directory.  i did a make -k to see if it would appear 
later, but it didn't.  so i manually tracked it down and wget'ed it.

now it builds much further, but the uclibc bootstrapping is failing.  the 
section:

# Install the kernel headers to the first stage gcc include dir if necessary
if [ ! -f /home/joey/buildroot/build_i686/staging_dir/include/linux/version.h ] ; then \
        cp -pLR /home/joey/buildroot/toolchain_build_i686/linux/include/asm /home/joey/buildroot/toolchain_build_i686/uClibc_dev/usr/include/ ; \
        cp -pLR /home/joey/buildroot/toolchain_build_i686/linux/include/linux /home/joey/buildroot/toolchain_build_i686/uClibc_dev/usr/include/ ; \
        [ -d /home/joey/buildroot/toolchain_build_i686/linux/include/asm-generic ] && \
        cp -pLR /home/joey/buildroot/toolchain_build_i686/linux/include/asm-generic /home/joey/buildroot/toolchain_build_i686/uClibc_dev/usr/include/ ; \
fi;

looks wrong.  i am guessing that the destination for the copies should be 
the staging dir, but i'm not sure.  any input?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] issues with svn version
  2006-12-14  0:41 [Buildroot] issues with svn version Joe Pruett
@ 2006-12-14  0:51 ` Joe Pruett
  2006-12-14  9:27   ` Ulf Samuelsson
  0 siblings, 1 reply; 3+ messages in thread
From: Joe Pruett @ 2006-12-14  0:51 UTC (permalink / raw)
  To: buildroot

following up to myself.  i changed the destination to be the staging area, 
but it still failed.  looking closer i see that the issue was the compound 
command to check for the existence of asm-generic is the last part of the 
if clause so it becomes the return value and since asm-generic doesn't 
exist for me, that is false.  for now i have hacked a - on the front of 
the if, but that's probably not the best solution, but things are building 
much better now.  not finished yet, but things are flying by...

On Wed, 13 Dec 2006, Joe Pruett wrote:

> a clean svn build immediately fails because linux-libc-headers can't be 
> found in the dl directory.  i did a make -k to see if it would appear 
> later, but it didn't.  so i manually tracked it down and wget'ed it.
> 
> now it builds much further, but the uclibc bootstrapping is failing.  the 
> section:
> 
> # Install the kernel headers to the first stage gcc include dir if necessary
> if [ ! -f /home/joey/buildroot/build_i686/staging_dir/include/linux/version.h ] ; then \
>         cp -pLR /home/joey/buildroot/toolchain_build_i686/linux/include/asm /home/joey/buildroot/toolchain_build_i686/uClibc_dev/usr/include/ ; \
>         cp -pLR /home/joey/buildroot/toolchain_build_i686/linux/include/linux /home/joey/buildroot/toolchain_build_i686/uClibc_dev/usr/include/ ; \
>         [ -d /home/joey/buildroot/toolchain_build_i686/linux/include/asm-generic ] && \
>         cp -pLR /home/joey/buildroot/toolchain_build_i686/linux/include/asm-generic /home/joey/buildroot/toolchain_build_i686/uClibc_dev/usr/include/ ; \
> fi;
> 
> looks wrong.  i am guessing that the destination for the copies should be 
> the staging dir, but i'm not sure.  any input?
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] issues with svn version
  2006-12-14  0:51 ` Joe Pruett
@ 2006-12-14  9:27   ` Ulf Samuelsson
  0 siblings, 0 replies; 3+ messages in thread
From: Ulf Samuelsson @ 2006-12-14  9:27 UTC (permalink / raw)
  To: buildroot

> following up to myself.  i changed the destination to be the staging area, 
> but it still failed.  looking closer i see that the issue was the compound 
> command to check for the existence of asm-generic is the last part of the 
> if clause so it becomes the return value and since asm-generic doesn't 
> exist for me, that is false.  for now i have hacked a - on the front of 
> the if, but that's probably not the best solution, but things are building 
> much better now.  not finished yet, but things are flying by...
> 

Might not be related, but I have noticed that 
a lot of the makefile fragments in the packages/* directories
does not set CFLAGS to include the kernel headers, and
this cause rebuilds to fail, typically when trying to include 
asm-generic.h

Best Regards
Ulf Samuelsson

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-12-14  9:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-14  0:41 [Buildroot] issues with svn version Joe Pruett
2006-12-14  0:51 ` Joe Pruett
2006-12-14  9:27   ` Ulf Samuelsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox