summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Crowe <mac@mcrowe.com>2013-05-20 13:22:45 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-24 14:06:59 +0100
commit37beb7bdab78de5253a894f35afafa34c13a00f5 (patch)
tree0d7996a2ce5a9d4948485444d507a9a0a06d3d4a
parent5cf2fa6cb4b18d1a436b361b805822f7ed391d80 (diff)
downloadopenembedded-core-37beb7bdab78de5253a894f35afafa34c13a00f5.tar.gz
openembedded-core-37beb7bdab78de5253a894f35afafa34c13a00f5.tar.bz2
openembedded-core-37beb7bdab78de5253a894f35afafa34c13a00f5.zip
kernel.bbclass: Add dependency on binutils
Compiling the Linux kernel requires binutils; kernel.bbclass uses INHIBIT_DEFAULT_DEPS so it had better depend on binutils explicitly. (The lack of this dependency isn't always a problem because binutils is required to build gcc-cross but if gcc-cross is reconstructed from the sstate cache then gcc-cross's dependency on binutils-cross is ignored due to being in the safe dependency list in setscene_depvalid.) Signed-off-by: Mike Crowe <mac@mcrowe.com> Acked-by: Phil Blundell <philb@gnu.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r--meta/classes/kernel.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 33207470cf..04074239a4 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -1,7 +1,7 @@
inherit linux-kernel-base module_strip kernel-module-split
PROVIDES += "virtual/kernel"
-DEPENDS += "virtual/${TARGET_PREFIX}gcc kmod-native depmodwrapper-cross"
+DEPENDS += "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}gcc kmod-native depmodwrapper-cross"
# we include gcc above, we dont need virtual/libc
INHIBIT_DEFAULT_DEPS = "1"