Skip to contentSkip to conversation

default-providers: add default provider for make

PATCH New Ross Burton 1 participant 2 messages Nov 16, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 default-providers: add default provider for make

remake PROVIDES make, so we need a default provider.

---
 meta/conf/distro/include/default-providers.inc |    1 +
 1 file changed, 1 insertion(+)
meta/conf/distro/include/default-providers.inc +1 -0
index 07222c2..8ed703c 100644
@@ -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"
Signature · 1 line
1.7.10
#1 lore raw

PATCH 2/2 cmake.bbclass: use DEPENDS_prepend instead of += for cmake-native

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

---
 meta/classes/cmake.bbclass |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/cmake.bbclass +1 -1
index eda45dd..54d4519 100644
@@ -1,4 +1,4 @@
-DEPENDS += " cmake-native "
+DEPENDS_prepend = "cmake-native "
 
 # We need to unset CCACHE otherwise cmake gets too confused
 CCACHE = ""
Signature · 1 line
1.7.10