[yocto] crownbay-noemgd poky-image-minimal fails to build

Andre Haupt andre at bitwigglers.org
Fri Jul 29 03:05:25 PDT 2011


On Fri, Jul 29, 2011 at 09:23:59AM +0200, Andre Haupt wrote:
> Hi all,
> 
> I am trying to build a poky bernard image for crownbay-noemgd.
> For this i checked out the bernard branch of both poky and meta-intel
> from git.yoctoproject.org.
> 
> Bitbake fails during the kernels compile_perf task complaining that it can not
> find libdw.h and bfd.h and that using /usr/local/include as include
> location is unsafe for cross compilation (full log attached).
> 
> What do i miss here?

I did work around this with

diff --git a/meta/recipes-kernel/linux/linux-yocto-stable_git.bb b/meta/recipes-
index 3c1e669..85caa92 100644
--- a/meta/recipes-kernel/linux/linux-yocto-stable_git.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-stable_git.bb
@@ -42,4 +42,4 @@ KERNEL_FEATURES=features/netfilter
 addtask kernel_link_vmlinux after do_compile before do_install
  addtask validate_branches before do_patch after do_kernel_checkout
   
  -require linux-tools.inc
  +#require linux-tools.inc


not sure that this is the right thing to do though.

cheers,

Andre



More information about the yocto mailing list