[oe] [PATCH 2/4] base.bbclass: add make-native to default dependencies
Michael Smith
msmith at cbnco.com
Fri Sep 24 19:39:47 UTC 2010
This should work around package incompatibilities with whatever version
of make is installed on the build system.
Signed-off-by: Michael Smith <msmith at cbnco.com>
---
classes/base.bbclass | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/classes/base.bbclass b/classes/base.bbclass
index b19eb32..60e6bc8 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -71,7 +71,8 @@ def base_deps(d):
if not bb.data.getVar('INHIBIT_DEFAULT_DEPS', d):
if (bb.data.getVar('HOST_SYS', d, 1) !=
bb.data.getVar('BUILD_SYS', d, 1)):
- deps += " virtual/${TARGET_PREFIX}gcc virtual/libc "
+ deps += (" virtual/${TARGET_PREFIX}gcc virtual/libc "
+ "make-native")
elif bb.data.inherits_class('native', d) and \
bb.data.getVar('PN', d, True) not in \
("linux-libc-headers-native", "quilt-native",
--
1.7.0.4
More information about the Openembedded-devel
mailing list