aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@intel.com>2011-08-04 10:14:35 -0500
committerTom Zanussi <tom.zanussi@intel.com>2011-08-25 12:19:18 -0500
commitd40a58a2d2329e329c93461baf697fe27b4cd3fb (patch)
tree1299a5326d36f5f7b4cd6c06b9a7e2eb9ead0386
parentd5130815aff9d230c44ed0be60ca06bb1cb4225a (diff)
downloadmeta-intel-d40a58a2d2329e329c93461baf697fe27b4cd3fb.tar.gz
meta-intel-d40a58a2d2329e329c93461baf697fe27b4cd3fb.tar.bz2
meta-intel-d40a58a2d2329e329c93461baf697fe27b4cd3fb.zip
meta-crownbay: new recipe for emgd 1.8 driver binaries
This adds a new recipe for the emgd 1.8 driver binaries. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
-rw-r--r--meta-crownbay/recipes-graphics/xorg-xserver/emgd-driver-bin-1.8/.gitignore0
-rw-r--r--meta-crownbay/recipes-graphics/xorg-xserver/emgd-driver-bin_1.8.bb35
2 files changed, 35 insertions, 0 deletions
diff --git a/meta-crownbay/recipes-graphics/xorg-xserver/emgd-driver-bin-1.8/.gitignore b/meta-crownbay/recipes-graphics/xorg-xserver/emgd-driver-bin-1.8/.gitignore
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/meta-crownbay/recipes-graphics/xorg-xserver/emgd-driver-bin-1.8/.gitignore
diff --git a/meta-crownbay/recipes-graphics/xorg-xserver/emgd-driver-bin_1.8.bb b/meta-crownbay/recipes-graphics/xorg-xserver/emgd-driver-bin_1.8.bb
new file mode 100644
index 00000000..8f309c92
--- /dev/null
+++ b/meta-crownbay/recipes-graphics/xorg-xserver/emgd-driver-bin_1.8.bb
@@ -0,0 +1,35 @@
+SUMMARY = "EMGD 1.8 xserver binaries"
+DESCRIPTION = "EMGD 1.8 includes some userspace binaries that use non-free \
+licensing. Intel Open Source Technology Center unfortunately has no power \
+to change that, but tries to make their use as painless as possible. Please \
+see the README in meta-crownbay/ for instructions on the (simple) manual \
+steps necessary to make the necessary binaries available to this recipe. \
+Please do that before building an image."
+LICENSE = "Intel-binary-only"
+PR = "r0"
+
+LIC_FILES_CHKSUM = "file://${WORKDIR}/License.txt;md5=b54f01caaf8483b3cb60c0c40f2bf22d"
+
+FILESPATH = "${FILE_DIRNAME}/emgd-driver-bin-1.8"
+
+SRC_URI = "file://lib \
+ file://License.txt"
+
+FILES_${PN} += "${libdir}/dri ${libdir}/xorg/modules/drivers ${libdir}/*.so"
+FILES_${PN}-dbg += "${libdir}/xorg/modules/drivers/.debug ${libdir}/dri/.debug"
+
+S = "${WORKDIR}"
+
+do_install () {
+ install -d -m 0755 ${D}/${libdir}/dri
+ install -d -m 0755 ${D}/${libdir}/xorg/modules/drivers
+ install -m 0755 ${S}/lib/*.so.* ${D}${libdir}/
+ install -m 0755 ${S}/lib/dri/* ${D}${libdir}/dri/
+ install -m 0755 ${S}/lib/xorg/modules/drivers/* ${D}${libdir}/xorg/modules/drivers/
+
+ ln -sf libEGl.so.1 ${D}${libdir}/libEGl.so
+ ln -sf libGLES_CM.so.1 ${D}${libdir}/libGLES_CM.so
+ ln -sf libGLESv2.so.2 ${D}${libdir}/libGLESv2.so
+}
+
+LEAD_SONAME = "libEGL.so"