]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
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:51:29 +0000 (10:51 +0100)
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.

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

index 1c2ad37fe7c67b705277afe16d93bea279aacc2c..2a30b82b0daa156e6b1bccf2cef69074c58a1f49 100644 (file)
@@ -1,8 +1,5 @@
 require recipes-kernel/linux/linux-yocto.inc
 
-# We need lzma (as CONFIG_KERNEL_LZMA=y)
-DEPENDS += "xz-native"
-
 KBRANCH_DEFAULT = "standard/tiny/base"
 KBRANCH = "${KBRANCH_DEFAULT}"
 LINUX_KERNEL_TYPE = "tiny"
index 973970d62a2171cfc35205a488e5345667e0b62f..2bee042775e89c9353323b110ded3b4019cd2258 100644 (file)
@@ -6,6 +6,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
 
 INC_PR = "r4"
 
+DEPENDS += "xz-native bc-native"
+
 # A KMACHINE is the mapping of a yocto $MACHINE to what is built
 # by the kernel. This is typically the branch that should be built,
 # and it can be specific to the machine or shared