Patchwork [0/2] linux-yocto: add bc-native and linux-yocto-dependency

login
register
mail settings
Submitter Bruce Ashfield
Date Aug. 26, 2013, 10 p.m.
Message ID <cover.1377554229.git.bruce.ashfield@windriver.com>
Download mbox
Permalink /patch/56663/
State New
Headers show

Pull-request

git://git.pokylinux.org/poky-contrib zedd/kernel-bc

Comments

Bruce Ashfield - Aug. 26, 2013, 10 p.m.
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(-)
Martin Jansa - Aug. 27, 2013, 7:56 a.m.
On Mon, Aug 26, 2013 at 06:00:11PM -0400, Bruce Ashfield wrote:
> 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.

I've used the same change for bc yesterday to build it, so:

Acked-by: Martin Jansa <Martin.Jansa@gmail.com>

> 
> 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
>