[meta-intel] [PATCH] emgd-driver-bin: Fix RDEPENDS

Richard Purdie richard.purdie at linuxfoundation.org
Tue Feb 12 15:07:34 PST 2013


RDEPENDS should be set on specific packages, not applied to everything
in general (e.g. -dev, -dbg or -doc packages). This fixes up warnings in
the build.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

diff --git a/common/recipes-graphics/xorg-driver/emgd-driver-bin_1.14.bb b/common/recipes-graphics/xorg-driver/emgd-driver-bin_1.14.bb
index 5dc208d..8de006d 100644
--- a/common/recipes-graphics/xorg-driver/emgd-driver-bin_1.14.bb
+++ b/common/recipes-graphics/xorg-driver/emgd-driver-bin_1.14.bb
@@ -17,7 +17,7 @@ LIC_FILES_CHKSUM = "file://${WORKDIR}/${EMGD_LIC_DIR}/License.txt;md5=b54f01caaf
                     file://${WORKDIR}/${EMGD_LIC_DIR}/readme.txt;md5=73cbec7a0d2bc22faf567238e055bfc8"
 
 DEPENDS = "rpm-native xz-native"
-RDEPENDS = "libxcb-dri2"
+RDEPENDS_${PN} = "libxcb-dri2"
 
 # Add the ABI dependency at package generation time, as otherwise bitbake will
 # attempt to find a provider for it (and fail) when it does the parse.
diff --git a/common/recipes-graphics/xorg-driver/emgd-driver-bin_1.16.bb b/common/recipes-graphics/xorg-driver/emgd-driver-bin_1.16.bb
index ec7c32e..ed49b4d 100644
--- a/common/recipes-graphics/xorg-driver/emgd-driver-bin_1.16.bb
+++ b/common/recipes-graphics/xorg-driver/emgd-driver-bin_1.16.bb
@@ -17,7 +17,7 @@ LIC_FILES_CHKSUM = "file://${WORKDIR}/${EMGD_LIC_DIR}/License.txt;md5=b54f01caaf
                     file://${WORKDIR}/${EMGD_LIC_DIR}/readme.txt;md5=73cbec7a0d2bc22faf567238e055bfc8"
 
 DEPENDS = "rpm-native xz-native"
-RDEPENDS = "libxcb-dri2"
+RDEPENDS_${PN} = "libxcb-dri2"
 
 # Add the ABI dependency at package generation time, as otherwise bitbake will
 # attempt to find a provider for it (and fail) when it does the parse.




More information about the meta-intel mailing list