From: Mike Crowe Date: Mon, 20 May 2013 12:22:45 +0000 (+0100) Subject: kernel.bbclass: Add dependency on binutils X-Git-Tag: 2015-4~6450 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=37beb7bdab78de5253a894f35afafa34c13a00f5;p=openembedded-core.git 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 Acked-by: Phil Blundell Signed-off-by: Saul Wold --- 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"