emgd-driver-bin: Fix RDEPENDS and exclude from world

One of the drivers links to libva so we need to list it as an RDEPENDS
so that when we package, we can ensure any library renaming gets applied
correctly. The bug can be seen if you "bitbake emgd-driver-bin", then
build an image using that library.

Also exclude these recipes from world since they should get built when
needed through the virtual/ mechanism, building them for say a qemux86
world build just corrupts the system due the the multiple shlibs providers.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reviewed-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
This commit is contained in:
Richard Purdie 2013-09-11 17:35:16 +01:00 committed by Tom Zanussi
parent 78f83fed4f
commit 4f5c753fb2
2 changed files with 10 additions and 0 deletions

View File

@ -18,6 +18,11 @@ LIC_FILES_CHKSUM = "file://${WORKDIR}/${EMGD_LIC_DIR}/License.txt;md5=b54f01caaf
DEPENDS = "rpm-native xz-native"
RDEPENDS_${PN} = "libxcb-dri2 cairo xserver-xorg"
RDEPENDS_emgd-gst-plugins-mixvideo = "libva-tpi"
# These libraries shouldn't get installed in world builds unless something
# explicitly depends upon them.
EXCLUDE_FROM_WORLD = "1"
# 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.

View File

@ -18,6 +18,11 @@ LIC_FILES_CHKSUM = "file://${WORKDIR}/${EMGD_LIC_DIR}/License.txt;md5=7ce256e6a3
DEPENDS = "rpm-native xz-native"
RDEPENDS_${PN} = "libxcb-dri2 cairo xserver-xorg"
RDEPENDS_emgd-gst-plugins-mixvideo = "libva-tpi"
# These libraries shouldn't get installed in world builds unless something
# explicitly depends upon them.
EXCLUDE_FROM_WORLD = "1"
# 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.