summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNitin A Kamble <nitin.a.kamble@intel.com>2012-12-17 17:14:11 (GMT)
committerTom Zanussi <tom.zanussi@intel.com>2012-12-21 15:39:26 (GMT)
commit95c9b6ced869ebab7c778b2741c963496140c00f (patch)
treef2bee62a0d033b9121a025bc528f1dc7680911b0
parent4122c514a22442a58b2f99e4ba9617ff219b3089 (diff)
downloadmeta-intel-95c9b6ced869ebab7c778b2741c963496140c00f.tar.gz
emgd-driver-bin: split target files into subpackages
Currently all the EMGD binary files are packaged mainly into the emgd-driver-bin package. This brings in undesired dependencies on various external packages such as libva and libx11. Splitting them further into subpackages passes these dependencies on to only those subpackages, and these subpackages can be selected individually as needed. This fixes the following bugs: [YOCTO #2551] [YOCTO #3373] Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
-rw-r--r--common/recipes-graphics/xorg-driver/emgd-driver-bin_1.14.bb26
1 files changed, 23 insertions, 3 deletions
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 a738419..de201b2 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
@@ -7,7 +7,7 @@ to LICENSE_FLAGS_WHITELIST += \"license_emgd-driver-bin_1.14\" to your \
7local.conf in order to enable it in a build." 7local.conf in order to enable it in a build."
8LICENSE = "Intel-software-license-emgd-1.14 & Intel-user-space-graphics-driver-binary-license-emgd-1.14" 8LICENSE = "Intel-software-license-emgd-1.14 & Intel-user-space-graphics-driver-binary-license-emgd-1.14"
9LICENSE_FLAGS = "license_${PN}_${PV}" 9LICENSE_FLAGS = "license_${PN}_${PV}"
10PR = "r5" 10PR = "r6"
11 11
12EMGD_LIC_DIR = "IEMGD_HEAD_Linux/License" 12EMGD_LIC_DIR = "IEMGD_HEAD_Linux/License"
13EMGD_RPM_DIR = "IEMGD_HEAD_Linux/MeeGo1.2" 13EMGD_RPM_DIR = "IEMGD_HEAD_Linux/MeeGo1.2"
@@ -39,12 +39,32 @@ PKG_${PN}-dev = "emgd-driver-dev"
39PKG_${PN}-dbg = "emgd-driver-dbg" 39PKG_${PN}-dbg = "emgd-driver-dbg"
40PKG_${PN}-doc = "emgd-driver-doc" 40PKG_${PN}-doc = "emgd-driver-doc"
41 41
42PACKAGES =+ "emgd-libmixcommon-0.10.8 emgd-libmixvideo-0.10.9 emgd-libmixvbp-0.10.8 \
43 emgd-gst-vabuffer-0.10.8 emgd-gst-plugins-mixvideo-0.10.34 \
44 emgd-gst-plugins-va-0.10.10 emgd-driver-video"
45
42# These are closed binaries generated elsewhere so don't check ldflags & text relocations 46# These are closed binaries generated elsewhere so don't check ldflags & text relocations
43INSANE_SKIP_${PN} = "ldflags textrel" 47INSANE_SKIP_emgd-driver-video = "ldflags textrel"
44# Inhibit warnings about files being stripped, we can't do anything about it. 48# Inhibit warnings about files being stripped, we can't do anything about it.
45INHIBIT_PACKAGE_DEBUG_SPLIT = "1" 49INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
46 50
47FILES_${PN} += "${libdir}/dri ${libdir}/gstreamer-0.10 ${libdir}/xorg/modules/drivers" 51# Avoid auto renaming of there packages
52DEBIAN_NOAUTONAME_emgd-libmixcommon-0.10.8 = "1"
53DEBIAN_NOAUTONAME_emgd-libmixvideo-0.10.9 = "1"
54DEBIAN_NOAUTONAME_emgd-libmixvbp-0.10.8 = "1"
55DEBIAN_NOAUTONAME_emgd-gst-vabuffer-0.10.8 = "1"
56
57FILES_emgd-libmixcommon-0.10.8 = "${libdir}/libmixcommon.so.0.10.8 ${libdir}/libmixcommon.so.0"
58FILES_emgd-libmixvideo-0.10.9 = "${libdir}/libmixvideo.so.0.10.9 ${libdir}/libmixvideo.so.0"
59FILES_emgd-libmixvbp-0.10.8 = "${libdir}/libmixvbp.so.0.10.8 ${libdir}/libmixvbp.so.0 \
60 ${libdir}/libmixvbp_h264.so.0.10.8 ${libdir}/libmixvbp_h264.so.0 \
61 ${libdir}/libmixvbp_mpeg4.so.0.10.8 ${libdir}/libmixvbp_mpeg4.so.0 \
62 ${libdir}/libmixvbp_vc1.so.0.10.8 ${libdir}/libmixvbp_vc1.so.0 "
63FILES_emgd-gst-vabuffer-0.10.8 = "${libdir}/libgstvabuffer.so.0.10.8 ${libdir}/libgstvabuffer.so.0"
64FILES_emgd-gst-plugins-mixvideo-0.10.34 = "${libdir}/gstreamer-0.10/libgstmixvideoplugin.so"
65FILES_emgd-gst-plugins-va-0.10.10 = "${libdir}/gstreamer-0.10/libgstvaplugin.so"
66FILES_emgd-driver-video = "${libdir}/dri/emgd_drv_video.so"
67FILES_${PN} += "${libdir}/dri ${libdir}/xorg/modules/drivers"
48FILES_${PN}-dbg += "${libdir}/xorg/modules/drivers/.debug ${libdir}/dri/.debug ${libdir}/gstreamer-0.10/.debug" 68FILES_${PN}-dbg += "${libdir}/xorg/modules/drivers/.debug ${libdir}/dri/.debug ${libdir}/gstreamer-0.10/.debug"
49 69
50S = "${WORKDIR}/${EMGD_RPM_DIR}" 70S = "${WORKDIR}/${EMGD_RPM_DIR}"