summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorNitin A Kamble <nitin.a.kamble@intel.com>2012-11-16 02:12:59 (GMT)
committerTom Zanussi <tom.zanussi@intel.com>2012-11-22 06:21:59 (GMT)
commit24a252c47b7c1d1692faa97d14a4330b48f4258c (patch)
treed714d1f19eb919ce53c6099c598a0d50d7f27fff /common
parent787d5d8c933577307d5c231f5ba3e9aa41db3aea (diff)
downloadmeta-intel-24a252c47b7c1d1692faa97d14a4330b48f4258c.tar.gz
emgd-driver-bin: remove duplicate files & fix soft links
Replace all the duplicate files by soft links, and also fix targets of some of the broken soft links. Fixes [YOCTO #3257] Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Diffstat (limited to 'common')
-rw-r--r--common/recipes-graphics/xorg-driver/emgd-driver-bin_1.14.bb23
1 files changed, 22 insertions, 1 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 cc78d61..ce37539 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 = "r2" 10PR = "r3"
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"
@@ -100,11 +100,32 @@ do_install () {
100 install -d -m 0755 ${D}${includedir}/VG 100 install -d -m 0755 ${D}${includedir}/VG
101 install -m 0755 ${S}/usr/include/VG/*.h ${D}${includedir}/VG/ 101 install -m 0755 ${S}/usr/include/VG/*.h ${D}${includedir}/VG/
102 102
103 ln -sf libEGL.so.1.5.15.3226 ${D}${libdir}/libEGL.so.1
103 ln -sf libEGL.so.1 ${D}${libdir}/libEGL.so 104 ln -sf libEGL.so.1 ${D}${libdir}/libEGL.so
105 ln -sf libGLES_CM.so.1.5.15.3226 ${D}${libdir}/libGLES_CM.so.1
104 ln -sf libGLES_CM.so.1 ${D}${libdir}/libGLES_CM.so 106 ln -sf libGLES_CM.so.1 ${D}${libdir}/libGLES_CM.so
107 ln -sf libGLESv2.so.1.5.15.3226 ${D}${libdir}/libGLESv2.so.2
105 ln -sf libGLESv2.so.2 ${D}${libdir}/libGLESv2.so 108 ln -sf libGLESv2.so.2 ${D}${libdir}/libGLESv2.so
109 ln -sf libOpenVG.so.1.5.15.3226 ${D}${libdir}/libOpenVG.so.1
106 ln -sf libOpenVG.so.1 ${D}${libdir}/libOpenVG.so 110 ln -sf libOpenVG.so.1 ${D}${libdir}/libOpenVG.so
111 ln -sf libOpenVGU.so.1.5.15.3226 ${D}${libdir}/libOpenVGU.so.1
107 ln -sf libOpenVGU.so.1 ${D}${libdir}/libOpenVGU.so 112 ln -sf libOpenVGU.so.1 ${D}${libdir}/libOpenVGU.so
113
114 #Replace duplicate files with symlinks
115 rm -f ${D}${libdir}/libmixvideo.so.0
116 ln -sf libmixvideo.so.0.10.9 ${D}${libdir}/libmixvideo.so.0
117 rm -f ${D}${libdir}/libmixvbp_h264.so.0
118 ln -sf libmixvbp_h264.so.0.10.8 ${D}${libdir}/libmixvbp_h264.so.0
119 rm -f ${D}${libdir}/libmixvbp.so.0
120 ln -sf libmixvbp.so.0.10.8 ${D}${libdir}/libmixvbp.so.0
121 rm -f ${D}${libdir}/libmixvbp_vc1.so.0
122 ln -sf libmixvbp_vc1.so.0.10.8 ${D}${libdir}/libmixvbp_vc1.so.0
123 rm -f ${D}${libdir}/libmixvbp_mpeg4.so.0
124 ln -sf libmixvbp_mpeg4.so.0.10.8 ${D}${libdir}/libmixvbp_mpeg4.so.0
125 rm -f ${D}${libdir}/libmixcommon.so.0
126 ln -sf libmixcommon.so.0.10.8 ${D}${libdir}/libmixcommon.so.0
127 rm -f ${D}${libdir}/libgstvabuffer.so.0
128 ln -sf libgstvabuffer.so.0.10.8 ${D}${libdir}/libgstvabuffer.so.0
108} 129}
109 130
110LEAD_SONAME = "libEGL.so" 131LEAD_SONAME = "libEGL.so"