Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/2] default-providers: add default provider for make
@ 2012-11-16 17:16 Ross Burton
  2012-11-16 17:16 ` [PATCH 2/2] cmake.bbclass: use DEPENDS_prepend instead of += for cmake-native Ross Burton
  0 siblings, 1 reply; 2+ messages in thread
From: Ross Burton @ 2012-11-16 17:16 UTC (permalink / raw)
  To: openembedded-core

remake PROVIDES make, so we need a default provider.

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/conf/distro/include/default-providers.inc |    1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/conf/distro/include/default-providers.inc b/meta/conf/distro/include/default-providers.inc
index 07222c2..8ed703c 100644
--- a/meta/conf/distro/include/default-providers.inc
+++ b/meta/conf/distro/include/default-providers.inc
@@ -36,3 +36,4 @@ PREFERRED_PROVIDER_opkg-native ?= "opkg-native"
 PREFERRED_PROVIDER_nativesdk-opkg ?= "nativesdk-opkg"
 PREFERRED_PROVIDER_console-tools ?= "kbd"
 PREFERRED_PROVIDER_gzip-native ?= "pigz-native"
+PREFERRED_PROVIDER_make ?= "make"
-- 
1.7.10




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

* [PATCH 2/2] cmake.bbclass: use DEPENDS_prepend instead of += for cmake-native
  2012-11-16 17:16 [PATCH 1/2] default-providers: add default provider for make Ross Burton
@ 2012-11-16 17:16 ` Ross Burton
  0 siblings, 0 replies; 2+ messages in thread
From: Ross Burton @ 2012-11-16 17:16 UTC (permalink / raw)
  To: openembedded-core

Otherwise when a recipe using DEPENDS=, the cmake-native dependency disappears.

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/classes/cmake.bbclass |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass
index eda45dd..54d4519 100644
--- a/meta/classes/cmake.bbclass
+++ b/meta/classes/cmake.bbclass
@@ -1,4 +1,4 @@
-DEPENDS += " cmake-native "
+DEPENDS_prepend = "cmake-native "
 
 # We need to unset CCACHE otherwise cmake gets too confused
 CCACHE = ""
-- 
1.7.10




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

end of thread, other threads:[~2012-11-16 17:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-16 17:16 [PATCH 1/2] default-providers: add default provider for make Ross Burton
2012-11-16 17:16 ` [PATCH 2/2] cmake.bbclass: use DEPENDS_prepend instead of += for cmake-native Ross Burton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox