]> code.ossystems Code Review - openembedded-core.git/commitdiff
gdb-cross-canadian: Set RDEPENDS on the specific package that needs it
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 3 Feb 2013 17:05:37 +0000 (17:05 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 4 Feb 2013 16:40:51 +0000 (16:40 +0000)
Set the RDEPENDS on the specific package that has the dependency and stop it
being applied to for example ${PN}-doc (and others).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gdb/gdb-cross-canadian.inc

index c947526e8245c71dd4c34e84e1b662e00a97cfd8..1f603223d3587f79ba11755ff3a7340c3ef4f600 100644 (file)
@@ -6,8 +6,8 @@ PN = "gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}"
 BPN = "gdb"
 
 DEPENDS = "nativesdk-ncurses nativesdk-expat nativesdk-gettext nativesdk-readline nativesdk-python"
-RDEPENDS += "nativesdk-python-core nativesdk-python-lang nativesdk-python-re \
-             nativesdk-python-codecs nativesdk-python-netclient"
+RDEPENDS_${PN} += "nativesdk-python-core nativesdk-python-lang nativesdk-python-re \
+                   nativesdk-python-codecs nativesdk-python-netclient"
 
 EXTRA_OECONF_append = "--with-python=${WORKDIR}/python"