summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRogerio Nunes <rogerio.nunes@freescale.com>2014-02-05 16:03:26 -0500
committerOtavio Salvador <otavio@ossystems.com.br>2014-02-06 09:19:59 -0200
commitd98b0608d424c912250c2e211dba5b7efd5dc54d (patch)
treec4acd3421d075362211bf8b7f07aad908518ece8
parent8ac335bdc92139b607c9e3b6ac50998f366b8b74 (diff)
downloadmeta-fsl-arm-d98b0608d424c912250c2e211dba5b7efd5dc54d.tar.gz
gpu-viv-g2d: Split libg2d package
Split lib and samples into two different packages: libg2d for the lib, and gpu-viv-g2d for samples. Default packages removed from PACKAGES variable. Source variable (S) removed, as it's the default. Signed-off-by: Rogerio Nunes <rogerio.nunes@freescale.com>
-rw-r--r--recipes-graphics/gpu-viv-g2d/gpu-viv-g2d.inc9
1 files changed, 4 insertions, 5 deletions
diff --git a/recipes-graphics/gpu-viv-g2d/gpu-viv-g2d.inc b/recipes-graphics/gpu-viv-g2d/gpu-viv-g2d.inc
index f044a76..e851577 100644
--- a/recipes-graphics/gpu-viv-g2d/gpu-viv-g2d.inc
+++ b/recipes-graphics/gpu-viv-g2d/gpu-viv-g2d.inc
@@ -1,4 +1,4 @@
1# Copyright (C) 2013 Freescale Semiconductor 1# Copyright (C) 2013, 2014 Freescale Semiconductor
2 2
3DESCRIPTION = "GPU Vivante G2D library and sample applications for imx6" 3DESCRIPTION = "GPU Vivante G2D library and sample applications for imx6"
4SECTION = "libs" 4SECTION = "libs"
@@ -11,13 +11,11 @@ PE = "1"
11 11
12SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true" 12SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true"
13 13
14PACKAGES = "gpu-viv-g2d gpu-viv-g2d-dev gpu-viv-g2d-dbg" 14PACKAGES += "libg2d"
15 15
16# Inhibit warnings about files being stripped. 16# Inhibit warnings about files being stripped.
17INHIBIT_PACKAGE_DEBUG_SPLIT = "1" 17INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
18 18
19S = "${WORKDIR}/${PN}-${PV}"
20
21do_install () { 19do_install () {
22 install -d ${D}${libdir} 20 install -d ${D}${libdir}
23 install -d ${D}${includedir} 21 install -d ${D}${includedir}
@@ -35,7 +33,8 @@ do_install () {
35REALSOLIBS := "${SOLIBS}" 33REALSOLIBS := "${SOLIBS}"
36SOLIBS = "${SOLIBSDEV}" 34SOLIBS = "${SOLIBSDEV}"
37 35
38FILES_${PN} = "/opt ${libdir}/libg2d${SOLIBS} " 36FILES_${PN} = "/opt"
37FILES_libg2d = "${libdir}/libg2d${SOLIBS}"
39FILES_${PN}-dev = "${includedir}" 38FILES_${PN}-dev = "${includedir}"
40FILES_${PN}-dbg = "${libdir}/.debug/libg2d${SOLIBS}" 39FILES_${PN}-dbg = "${libdir}/.debug/libg2d${SOLIBS}"
41 40