All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] base.bbclass: add make-native to default dependencies
@ 2010-09-20 18:47 Michael Smith
  2010-09-20 20:24 ` Khem Raj
  0 siblings, 1 reply; 14+ messages in thread
From: Michael Smith @ 2010-09-20 18:47 UTC (permalink / raw)
  To: openembedded-devel

In case the build system is running some ancient make, we can just as 
easily build our own make (3.82) to get predictable behaviour. Does 
something like this make sense?

diff --git a/classes/base.bbclass b/classes/base.bbclass
index b19eb32..5c6d41d 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -71,7 +71,7 @@ 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 += " make-native 
virtual/${TARGET_PREFIX}gcc virtual/libc "
                 elif bb.data.inherits_class('native', d) and \
                                 bb.data.getVar('PN', d, True) not in \
                                 ("linux-libc-headers-native", 
"quilt-native",



^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2010-09-25 13:58 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-20 18:47 [RFC] base.bbclass: add make-native to default dependencies Michael Smith
2010-09-20 20:24 ` Khem Raj
2010-09-21 13:58   ` Michael Smith
2010-09-21 15:47     ` Khem Raj
2010-09-21 16:25       ` Michael Smith
2010-09-21 17:33     ` Holger Freyther
2010-09-21 20:54       ` Michael Smith
2010-09-21 23:34         ` Khem Raj
2010-09-24 19:39           ` [PATCH 1/4] make 3.82: set DEFAULT_PREFERENCE = "-1" Michael Smith
2010-09-24 19:39             ` [PATCH 2/4] base.bbclass: add make-native to default dependencies Michael Smith
2010-09-24 19:39               ` [PATCH 3/4] glibc, glibc-initial: depend on make-native Michael Smith
2010-09-24 19:39                 ` [PATCH 4/4] eglibc, eglibc-initial: " Michael Smith
2010-09-25  8:41               ` [PATCH 2/4] base.bbclass: add make-native to default dependencies Paul Menzel
2010-09-25 13:58                 ` Michael Smith

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.