[OE-core] [PATCH 0/2] linux-yocto: add bc-native and linux-yocto-dependency

Bruce Ashfield bruce.ashfield at windriver.com
Mon Aug 26 22:00:11 UTC 2013


Richard/Saul,

As reported by Martin Jansa, the following error happens when building in a
minimal environment:

   |   BC      kernel/timeconst.h
   | /bin/sh: bc: command not found
   | make[3]: *** [kernel/timeconst.h] Error 127
   | make[2]: *** [kernel] Error 2
   | make[2]: *** Waiting for unfinished jobs....

kernel commit 70730bca [kernel: Replace timeconst.pl with a bc script] added
a kernel dependency on bc. To support the build of linux-yocto recipes in
these configurations, we add bc-native to the common dependencies.

I didn't go so far as to add the dependency to the base kernel bbclass,
since not all kernels will be of the right version to trigger this dependency,
but we can consider doing that in the future.

I'm not packaging/native tool expert, but I think I added bc-native properly,
and it worked here. But obviously, correct me if I'm wrong.

Cheers,

Bruce


The following changes since commit dcc23c073ef936eccecdc16f973492f41c44def7:

  kern-tools: fix patch series to git tree validation (2013-08-26 13:57:20 -0400)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib zedd/kernel-bc
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/kernel-bc

Bruce Ashfield (2):
  bc: add bc-native
  linux-yocto: add bc-native dependency, and move to linux-yocto.inc

 meta/recipes-extended/bc/bc_1.06.bb                |    2 ++
 meta/recipes-kernel/linux/linux-yocto-tiny_3.10.bb |    3 ---
 meta/recipes-kernel/linux/linux-yocto.inc          |    2 ++
 3 files changed, 4 insertions(+), 3 deletions(-)

-- 
1.7.10.4




More information about the Openembedded-core mailing list