cmake.bbclass: use DEPENDS_prepend instead of += for cmake-native
authorRoss Burton <ross.burton@intel.com>
Fri, 16 Nov 2012 17:16:07 +0000 (17:16 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 18 Nov 2012 16:42:09 +0000 (16:42 +0000)
Otherwise when a recipe using DEPENDS=, the cmake-native dependency disappears.

(From OE-Core rev: 2b35539d96325d8e687451543d4f52f1a07bf1c6)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/cmake.bbclass

index eda45dd..54d4519 100644 (file)
@@ -1,4 +1,4 @@
-DEPENDS += " cmake-native "
+DEPENDS_prepend = "cmake-native "
 
 # We need to unset CCACHE otherwise cmake gets too confused
 CCACHE = ""