Patchwork [2/2] cmake.bbclass: use DEPENDS_prepend instead of += for cmake-native

login
register
mail settings
Submitter Ross Burton
Date Nov. 16, 2012, 5:16 p.m.
Message ID <1353086167-5604-2-git-send-email-ross.burton@intel.com>
Download mbox | patch
Permalink /patch/39169/
State Accepted
Commit c2cb4c0645da3d2afb92ada714371506e6a54ec0
Headers show

Comments

Ross Burton - Nov. 16, 2012, 5:16 p.m.
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(-)

Patch

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 = ""