[oe] [meta-oe][PATCH] python-mako: use BBCLASSEXTEND instead of native recipe

Ross Burton ross.burton at intel.com
Fri Nov 1 17:22:38 UTC 2013


There isn't a need for a separate native recipe, so use BBCLASSEXTEND and
overrides.

Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta-oe/recipes-devtools/python/python-mako-native_0.7.2.bb |    5 -----
 meta-oe/recipes-devtools/python/python-mako_0.7.2.bb        |    3 +++
 2 files changed, 3 insertions(+), 5 deletions(-)
 delete mode 100644 meta-oe/recipes-devtools/python/python-mako-native_0.7.2.bb

diff --git a/meta-oe/recipes-devtools/python/python-mako-native_0.7.2.bb b/meta-oe/recipes-devtools/python/python-mako-native_0.7.2.bb
deleted file mode 100644
index 05479db..0000000
--- a/meta-oe/recipes-devtools/python/python-mako-native_0.7.2.bb
+++ /dev/null
@@ -1,5 +0,0 @@
-require python-mako_${PV}.bb
-inherit native pythonnative
-
-DEPENDS = "python-native"
-RDEPENDS_${PN} = ""
diff --git a/meta-oe/recipes-devtools/python/python-mako_0.7.2.bb b/meta-oe/recipes-devtools/python/python-mako_0.7.2.bb
index 9e381f3..1d2bdd7 100644
--- a/meta-oe/recipes-devtools/python/python-mako_0.7.2.bb
+++ b/meta-oe/recipes-devtools/python/python-mako_0.7.2.bb
@@ -17,3 +17,6 @@ RDEPENDS_${PN} = "python-threading \
                   python-netclient \
                   python-html \
 "
+RDEPENDS_${PN}_class-native = ""
+
+BBCLASSEXTEND = "native nativesdk"
-- 
1.7.10.4




More information about the Openembedded-devel mailing list