[oe] [PATCH] autotools, base, vala: don't define DEPENDS with _virtclass overrides

Martin Jansa martin.jansa at gmail.com
Tue Oct 26 11:35:41 UTC 2010


* native and nativesdk are handling DEPENDS from target recipe if there
  is no DEPENDS_virtclass-native(sdk) defined
* this breaks recipes where is DEPENDS_virtclass-native(sdk) defined to
  override common DEPENDS but without ie autotools dependencies

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 classes/autotools.bbclass |    2 --
 classes/base.bbclass      |    3 ---
 classes/vala.bbclass      |    1 -
 3 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/classes/autotools.bbclass b/classes/autotools.bbclass
index 2c27d0f..a13c3d0 100644
--- a/classes/autotools.bbclass
+++ b/classes/autotools.bbclass
@@ -25,8 +25,6 @@ def autotools_deps(d):
 EXTRA_OEMAKE = ""
 
 DEPENDS_prepend = "${@autotools_deps(d)}"
-DEPENDS_virtclass-native_prepend = "${@autotools_deps(d)}"
-DEPENDS_virtclass-nativesdk_prepend = "${@autotools_deps(d)}"
 
 inherit siteinfo
 
diff --git a/classes/base.bbclass b/classes/base.bbclass
index d4d8257..4473edd 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -81,9 +81,6 @@ def base_deps(d):
 	return deps
 
 DEPENDS_prepend="${@base_deps(d)} "
-DEPENDS_virtclass-native_prepend="${@base_deps(d)} "
-DEPENDS_virtclass-nativesdk_prepend="${@base_deps(d)} "
-
 
 SCENEFUNCS += "base_scenefunction"
 
diff --git a/classes/vala.bbclass b/classes/vala.bbclass
index d4ba831..0ea68cb 100644
--- a/classes/vala.bbclass
+++ b/classes/vala.bbclass
@@ -3,7 +3,6 @@ PARALLEL_MAKE = ""
 
 # Vala needs vala-native
 DEPENDS += "vala-native"
-DEPENDS_virtclass-native += "vala-native"
 
 # Our patched version of Vala looks in STAGING_DATADIR for .vapi files
 export STAGING_DATADIR
-- 
1.7.3.1





More information about the Openembedded-devel mailing list