diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2014-03-06 14:37:58 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2014-03-11 08:09:14 -0300 |
commit | 4672a2c336fec08016730fa9af57c1455dcac097 (patch) | |
tree | 64e24bce507f053422e33cf7db80ad5a64a844e9 /meta-fsl-arm | |
parent | 9e9c775bddaac99e3934018686dab1d0b56de604 (diff) | |
download | meta-freescale-4672a2c336fec08016730fa9af57c1455dcac097.tar.gz |
amd-gpu-x11-bin: Add pkgconfig files for EGL and OpenGL ES 2
The pkgconfig files are need for some applications which use it to
check for library avaiability. The culprit which triggered it was the
addition of glmark2 into the test image, thus causing a build failure
in our autobuilder.
The build has been tested in X11 and Framebuffer backends.
Change-Id: I4fca032f5c2c8768b92430f05bc80e5ba51854be
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'meta-fsl-arm')
3 files changed, 30 insertions, 0 deletions
diff --git a/meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/amd-gpu-mx51.inc b/meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/amd-gpu-mx51.inc index 3ff5d4bf..02a4f21c 100644 --- a/meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/amd-gpu-mx51.inc +++ b/meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/amd-gpu-mx51.inc | |||
@@ -1,4 +1,5 @@ | |||
1 | # Copyright (C) 2011, 2012, 2013 Freescale | 1 | # Copyright (C) 2011, 2012, 2013 Freescale |
2 | # Copyright (C) 2011-2014 O.S. Systems Software LTDA. | ||
2 | # Released under the MIT license (see COPYING.MIT for the terms) | 3 | # Released under the MIT license (see COPYING.MIT for the terms) |
3 | 4 | ||
4 | LICENSE = "Proprietary" | 5 | LICENSE = "Proprietary" |
@@ -10,6 +11,8 @@ LIC_FILES_CHKSUM = "file://usr/include/VG/openvg.h;endline=30;md5=b0109611dd7696 | |||
10 | PROVIDES = "virtual/egl virtual/libgles1 virtual/libgles2" | 11 | PROVIDES = "virtual/egl virtual/libgles1 virtual/libgles2" |
11 | 12 | ||
12 | SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true \ | 13 | SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true \ |
14 | file://egl.pc \ | ||
15 | file://glesv2.pc \ | ||
13 | file://fix-linux-build-check.patch" | 16 | file://fix-linux-build-check.patch" |
14 | 17 | ||
15 | inherit fsl-eula-unpack | 18 | inherit fsl-eula-unpack |
@@ -43,6 +46,11 @@ do_install () { | |||
43 | # FIXME: Remove unkown files | 46 | # FIXME: Remove unkown files |
44 | rm -r ${D}${libdir}/libcsi.a \ | 47 | rm -r ${D}${libdir}/libcsi.a \ |
45 | ${D}${libdir}/libres.a | 48 | ${D}${libdir}/libres.a |
49 | |||
50 | # FIXME: Add pkgconfig files | ||
51 | install -d ${D}${libdir}/pkgconfig | ||
52 | install -m 644 ${WORKDIR}/egl.pc ${D}${libdir}/pkgconfig | ||
53 | install -m 644 ${WORKDIR}/glesv2.pc ${D}${libdir}/pkgconfig | ||
46 | } | 54 | } |
47 | 55 | ||
48 | PACKAGES =+ "libgsl-fsl-mx51 libgsl-fsl-mx51-dev libgsl-fsl-mx51-dbg \ | 56 | PACKAGES =+ "libgsl-fsl-mx51 libgsl-fsl-mx51-dev libgsl-fsl-mx51-dbg \ |
diff --git a/meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/files/egl.pc b/meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/files/egl.pc new file mode 100644 index 00000000..3d2ab5db --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/files/egl.pc | |||
@@ -0,0 +1,11 @@ | |||
1 | prefix=/usr | ||
2 | exec_prefix=${prefix} | ||
3 | libdir=/usr/lib | ||
4 | includedir=/usr/include | ||
5 | |||
6 | Name: egl | ||
7 | Description: AMD EGL library | ||
8 | Requires.private: | ||
9 | Version: 8.0 | ||
10 | Libs: -L${libdir} -lEGL | ||
11 | Cflags: -I${includedir} | ||
diff --git a/meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/files/glesv2.pc b/meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/files/glesv2.pc new file mode 100644 index 00000000..62e1cb65 --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/files/glesv2.pc | |||
@@ -0,0 +1,11 @@ | |||
1 | prefix=/usr | ||
2 | exec_prefix=${prefix} | ||
3 | libdir=/usr/lib | ||
4 | includedir=/usr/include | ||
5 | |||
6 | Name: glesv2 | ||
7 | Description: AMD OpenGL ES 2.0 library | ||
8 | Requires.private: | ||
9 | Version: 8.0 | ||
10 | Libs: -L${libdir} -lGLESv2 -lEGL | ||
11 | Cflags: -I${includedir} | ||