summaryrefslogtreecommitdiffstats
path: root/meta-cedartrail/recipes-graphics/xorg-driver
diff options
context:
space:
mode:
authorKishore Bodke <kishore.k.bodke@intel.com>2013-02-08 22:18:58 (GMT)
committerTom Zanussi <tom.zanussi@linux.intel.com>2013-02-16 16:01:30 (GMT)
commit1d6b218a45e43441ca6299b899c4d84ec976082c (patch)
tree1152df28cfdc2e0327ccf361afd241f0d111d004 /meta-cedartrail/recipes-graphics/xorg-driver
parentbfa92b97a9d8e4e19d770a87b42a59c16460c1b4 (diff)
downloadmeta-intel-1d6b218a45e43441ca6299b899c4d84ec976082c.tar.gz
cedartrail: remove BSP
Cedartrail will not be supported in the Yocto 1.4 Release. Remove it from meta-intel. Signed-off-by: Kishore Bodke <kishore.k.bodke@intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Diffstat (limited to 'meta-cedartrail/recipes-graphics/xorg-driver')
-rw-r--r--meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver_1.0.3.bb197
1 files changed, 0 insertions, 197 deletions
diff --git a/meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver_1.0.3.bb b/meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver_1.0.3.bb
deleted file mode 100644
index ebb5891..0000000
--- a/meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver_1.0.3.bb
+++ /dev/null
@@ -1,197 +0,0 @@
1SUMMARY = "Cedartrail PowerVR Graphics Driver version 1.0.3 binaries"
2DESCRIPTION = "2D, 3D and Media user space driver for Cedartrail platform \
3The binaries are covered by the Intel Free Distribution Binary License. \
4The user must make himself/herself aware of the Licensing terms \
5before enabling build of the Cedartrail PowerVR Graphics Driver via \
6this recipe. Please see the README in meta-cedartrail for instructions \
7for enabling the build of the driver "
8
9LICENSE_FLAGS = "license_${PN}_${PV}"
10LICENSE = "Intel Free Distribution Binary License"
11LIC_FILES_CHKSUM = " \
12 file://${S}/usr/share/doc/psb-video-cdv-${PSB-VIDEO-REV}/license.txt;md5=b14d99f8d4ed664e9ce95057f0bb5b65 \
13 file://${S}/usr/share/doc/pvr-bin-cdv-${PVR-BIN-REV_LIC}/license.txt;md5=b14d99f8d4ed664e9ce95057f0bb5b65"
14
15DEPENDS = "rpm-native libva"
16
17PR = "r5"
18
19PSB-VIDEO = "psb-video-cdv-1.0.3-1.1.i586.rpm"
20PSB-VIDEO-REV = "1.0.3"
21
22PVR-BIN = "pvr-bin-cdv-1.0.3-1.1.i586.rpm"
23PVR-BIN-REV = "1.7.862890"
24PVR-BIN-REV_N = "1.7.862890_05"
25PVR-BIN-REV_LIC = "1.0.3"
26PVR-BIN-DEV = "pvr-bin-cdv-devel-1.0.3-1.1.i586.rpm"
27
28LIBWSBM = "libwsbm-cdv-1.1.0-3.1.i586.rpm"
29LIBWSBM-DEV = "libwsbm-cdv-devel-1.1.0-3.1.i586.rpm"
30
31
32NON-OSS-PATH = "http://repo.meego.com/MeeGo/updates/1.2.0/repos/non-oss/ia32/packages/"
33OSS-PATH = "http://repo.meego.com/MeeGo/updates/1.2.0/repos/oss/ia32/packages/"
34
35
36SRC_URI = "${NON-OSS-PATH}${PSB-VIDEO};name=psbrpm;unpack=0 \
37 ${NON-OSS-PATH}${PVR-BIN};name=pvrrpm;unpack=0 \
38 ${NON-OSS-PATH}${PVR-BIN-DEV};name=pvrrpmdev;unpack=0 \
39 ${OSS-PATH}${LIBWSBM};name=wsbmrpm;unpack=0 \
40 ${OSS-PATH}${LIBWSBM-DEV};name=wsbmrpmdev;unpack=0 \
41 "
42SRC_URI[pvrrpm.md5sum] = "3ae7db98825af642445f75f4b5ddb303"
43SRC_URI[pvrrpm.sha256sum] = "42b97e5d663444f35b1ee51cdf9573e3b1d5a4f49ae854218c5c4c9a66ba95cf"
44
45SRC_URI[pvrrpmdev.md5sum] = "e8f0815b5bbf94311a7cf229451f651f"
46SRC_URI[pvrrpmdev.sha256sum] = "facb67f6b8413504e7ba570a4e3e3ee20cb90d7bd02b303653f9ce5cc4fd7b20"
47
48SRC_URI[psbrpm.md5sum] = "ec486193dc4b3f91bc7c5e18d9ca9d8a"
49SRC_URI[psbrpm.sha256sum] = "0861d69b44d5ce29a3f778ac82976a22f7726af84d9b2e5438c18da5263ffdac"
50
51SRC_URI[wsbmrpm.md5sum] = "b8b21ca8325abd7850d197f9bf3071c7"
52SRC_URI[wsbmrpm.sha256sum] = "f436386967c1adec5211e662251bd542bbe0b8cd55e1d9f9c203da5ee934d4f0"
53
54SRC_URI[wsbmrpmdev.md5sum] = "895d0cafd878fcbe4e2f845b8e09eea3"
55SRC_URI[wsbmrpmdev.sha256sum] = "605ba605a2617ee67863d5becac114ce7f4ea440854543f75465e16f463bad70"
56
57
58# make sure generated rpm packages get non conflicting names
59PKG_${PN} = "cdv-pvr-driver"
60PKG_${PN}-dev = "cdv-pvr-driver-dev"
61PKG_${PN}-dbg = "cdv-pvr-driver-dbg"
62PKG_${PN}-doc = "cdv-pvr-driver-doc"
63
64S = "${WORKDIR}/cdv-graphics-drivers_${PV}"
65
66# These are closed binaries generated elsewhere so don't check ldflags
67INSANE_SKIP_${PN} = "ldflags"
68
69# Don't try stripping, as the binaries are already stripped
70INHIBIT_PACKAGE_STRIP = "1"
71
72# .so files in these binaries are not symlinks. Rearange package order
73# so that they go to ${PN} instead of $PN}-dev
74PACKAGES = "${PN}-dbg ${PN}-staticdev ${PN} ${PN}-dev ${PN}-doc ${PN}-locale"
75
76
77FILES_${PN} += "${libdir}/dri ${libdir}/pvr/cdv/dri ${libdir}/pvr/cdv ${libdir}/xorg/modules/drivers"
78
79FILES_${PN} += "${base_libdir}/firmware"
80FILES_${PN} += "${sysconfdir}/X11/xorg.conf.d"
81
82FILES_${PN} += "${libdir}/lib*.so"
83
84FILES_${PN} += "${libdir}/pvr/cdv/xorg/modules/drivers"
85
86FILES_${PN} += "${datadir}/doc/psb-video-cdv-${PSB-VIDEO-REV}/license.txt"
87FILES_${PN} += "${datadir}/doc/pvr-bin-cdv-${PVR-BIN-REV_LIC}/license.txt"
88
89RDEPENDS_${PN} = "xserver-xorg-module-exa"
90
91# Add the ABI dependency at package generation time, as otherwise bitbake will
92# attempt to find a provider for it (and fail) when it does the parse.
93#
94# This version *must* be kept correct.
95python populate_packages_prepend() {
96 pn = d.getVar("PN", True)
97 d.appendVar("RDEPENDS_" + pn, " xorg-abi-video-8")
98}
99
100TARGET_CC_ARCH += "${CFLAGS}{LDFLAGS}"
101INSANE_SKIP_${PN} += "ldflags"
102INSANE_SKIP_${PN}-dbg += "ldflags"
103
104do_configure () {
105
106# Extract license files from rpms
107rpm2cpio.sh ${WORKDIR}/${PSB-VIDEO} |cpio -ivd ./usr/share/doc/psb-video-cdv-${PSB-VIDEO-REV}/license.txt
108rpm2cpio.sh ${WORKDIR}/${PVR-BIN} |cpio -ivd ./usr/share/doc/pvr-bin-cdv-${PVR-BIN-REV_LIC}/license.txt
109
110}
111
112do_install() {
113
114 mv ${WORKDIR}/*.rpm ${S}
115
116 rpm2cpio.sh ${S}/${LIBWSBM} | cpio -id
117
118 install -d -m 0755 ${D}${libdir}/dri
119
120 install -m 0755 ${S}/usr/lib/* ${D}${libdir}/
121
122 rpm2cpio.sh ${S}/${PSB-VIDEO} | cpio -id
123
124 install -d -m 0755 ${D}${base_libdir}/firmware
125
126 install -m 0755 ${S}/usr/lib/dri/* ${D}${libdir}/dri/
127
128 install -m 0755 ${S}/lib/firmware/* ${D}${base_libdir}/firmware
129
130 rpm2cpio.sh ${S}/${PVR-BIN} | cpio -id
131
132 install -d -m 0755 ${D}${libdir}/pvr/cdv/dri
133
134 install -m 0755 ${S}/usr/lib/pvr/cdv/dri/* ${D}${libdir}/pvr/cdv/dri
135
136 install -d -m 0755 ${D}${sysconfdir}/X11/xorg.conf.d
137 install -m 0755 ${S}/etc/powervr.ini ${D}${sysconfdir}/
138 install -m 0755 ${S}/etc/X11/xorg.conf.d/* ${D}${sysconfdir}/X11/xorg.conf.d/
139 install -m 0755 ${S}/usr/lib/dri/pvr_dri.so ${D}${libdir}/dri/
140 install -m 0755 ${S}/usr/lib/*.so.* ${D}${libdir}/
141
142
143 install -m 0755 ${S}/usr/lib/libegl4ogl.so.${PVR-BIN-REV} ${D}${libdir}/libegl4ogl.so
144 install -m 0755 ${S}/usr/lib/libEGL.so.${PVR-BIN-REV} ${D}${libdir}/libEGL.so
145 install -m 0755 ${S}/usr/lib/libGLES_CM.so.${PVR-BIN-REV} ${D}${libdir}/libGLES_CM.so
146 install -m 0755 ${S}/usr/lib/libGLES_CM.so.${PVR-BIN-REV} ${D}${libdir}/libGLESv1_CM.so
147 install -m 0755 ${S}/usr/lib/libGLESv2.so.${PVR-BIN-REV} ${D}${libdir}/libGLESv2.so
148 install -m 0755 ${S}/usr/lib/libglslcompiler.so.${PVR-BIN-REV} ${D}${libdir}/libglslcompiler.so
149 install -m 0755 ${S}/usr/lib/libIMGegl.so.${PVR-BIN-REV} ${D}${libdir}/libIMGegl.so
150 install -m 0755 ${S}/usr/lib/libOpenVG.so.${PVR-BIN-REV} ${D}${libdir}/libOpenVG.so
151 install -m 0755 ${S}/usr/lib/libOpenVGU.so.${PVR-BIN-REV} ${D}${libdir}/libOpenVGU.so
152 install -m 0755 ${S}/usr/lib/libpvr2d.so.${PVR-BIN-REV} ${D}${libdir}/libpvr2d.so
153 install -m 0755 ${S}/usr/lib/libPVROGL_MESA.so.${PVR-BIN-REV} ${D}${libdir}/libPVROGL_MESA.so
154 install -m 0755 ${S}/usr/lib/libpvrPVR2D_BLITWSEGL.so.${PVR-BIN-REV} ${D}${libdir}/libpvrPVR2D_BLITWSEGL.so
155 install -m 0755 ${S}/usr/lib/libpvrPVR2D_DRIWSEGL.so.${PVR-BIN-REV} ${D}${libdir}/libpvrPVR2D_DRIWSEGL.so
156 install -m 0755 ${S}/usr/lib/libpvrPVR2D_FLIPWSEGL.so.${PVR-BIN-REV} ${D}${libdir}/libpvrPVR2D_FLIPWSEGL.so
157 install -m 0755 ${S}/usr/lib/libpvrPVR2D_LINUXFBWSEGL.so.${PVR-BIN-REV} ${D}${libdir}/libpvrPVR2D_LINUXFBWSEGL.so
158 install -m 0755 ${S}/usr/lib/libPVRScopeServices.so.${PVR-BIN-REV} ${D}${libdir}/libPVRScopeServices.so
159 install -m 0755 ${S}/usr/lib/libsrv_init.so.${PVR-BIN-REV} ${D}${libdir}/libsrv_init.so
160 install -m 0755 ${S}/usr/lib/libsrv_um.so.${PVR-BIN-REV} ${D}${libdir}/libsrv_um.so
161 install -m 0755 ${S}/usr/lib/libusc.so.${PVR-BIN-REV} ${D}${libdir}/libusc.so
162
163 install -m 0755 ${S}/usr/lib/pvr/cdv/*.so.* ${D}${libdir}/pvr/cdv/
164
165 install -d -m 0755 ${D}${libdir}/pvr/cdv/xorg/modules/drivers
166 install -m 0755 ${S}/usr/lib/pvr/cdv/xorg/modules/drivers/* ${D}${libdir}/pvr/cdv/xorg/modules/drivers/
167
168 install -d -m 0755 ${D}${libdir}/xorg/modules/drivers
169
170 install -m 0755 ${S}/usr/lib/xorg/modules/drivers/* ${D}${libdir}/xorg/modules/drivers/
171
172 install -d -m 0755 ${D}${datadir}/doc/psb-video-cdv-${PSB-VIDEO-REV}
173 install -d -m 0755 ${D}${datadir}/doc/pvr-bin-cdv-${PVR-BIN-REV_N}
174
175 rpm2cpio.sh ${S}/${PVR-BIN-DEV} | cpio -id
176 install -d -m 0644 ${D}${includedir}
177 install -d -m 0644 ${D}${includedir}/GLES
178 install -d -m 0644 ${D}${includedir}/VG
179 install -d -m 0644 ${D}${includedir}/GLES2
180 install -d -m 0644 ${D}${includedir}/KHR
181 install -d -m 0644 ${D}${includedir}/EGL
182
183 install -m 0644 ${S}/${includedir}/GLES/*.h ${D}${includedir}/GLES
184 install -m 0644 ${S}/${includedir}/VG/*.h ${D}${includedir}/VG
185 install -m 0644 ${S}/${includedir}/GLES2/*.h ${D}${includedir}/GLES2
186 install -m 0644 ${S}/${includedir}/KHR/*.h ${D}${includedir}/KHR
187 install -m 0644 ${S}/${includedir}/EGL/*.h ${D}${includedir}/EGL
188
189 rpm2cpio.sh ${S}/${LIBWSBM-DEV} | cpio -id
190 install -d -m 0644 ${D}${includedir}/wsbm
191
192 install -m 0644 ${S}/${includedir}/wsbm/*.h ${D}${includedir}/wsbm
193 install -m 0644 ${S}/${libdir}/libwsbm.so ${D}${libdir}/libwsbm.so
194
195 install -m 0755 ${S}/usr/share/doc/psb-video-cdv-${PSB-VIDEO-REV}/license.txt ${D}${datadir}/doc/psb-video-cdv-${PSB-VIDEO-REV}/license.txt
196
197}