linux-yocto: add bc-native dependency, and move to linux-yocto.inc
authorBruce Ashfield <bruce.ashfield@windriver.com>
Mon, 26 Aug 2013 21:47:20 +0000 (21:47 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 27 Aug 2013 09:55:07 +0000 (10:55 +0100)
commit967954f25c29d49f1acb3798b91e7e0888d9ff8f
treeaec9e7f53e6d7669967e25dad265a214e366914c
parent1b2d426c45d83a6df5795275d0d6e62515548714
linux-yocto: add bc-native dependency, and move to linux-yocto.inc

As reported by Martin Jansa <martin.jansa@gmail.com>, 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.

(From OE-Core rev: c888857b060f04b8689f393ec2d77a950da40f5a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/linux/linux-yocto-tiny_3.10.bb
meta/recipes-kernel/linux/linux-yocto.inc