diff options
| author | Rogerio Nunes <rogerio.nunes@freescale.com> | 2014-02-05 16:03:26 -0500 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2014-02-06 09:19:59 -0200 |
| commit | a445a11bc3e1a1327e977495d6f47b3dc7deca9e (patch) | |
| tree | 7104ebbb1252faa6f5481254d10ed1710c6d83c4 | |
| parent | cb7e81ace6ae4adcd97ae7ea6cdfbffcf08ab8c2 (diff) | |
| download | meta-freescale-a445a11bc3e1a1327e977495d6f47b3dc7deca9e.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-- | meta-fsl-arm/recipes-graphics/gpu-viv-g2d/gpu-viv-g2d.inc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/meta-fsl-arm/recipes-graphics/gpu-viv-g2d/gpu-viv-g2d.inc b/meta-fsl-arm/recipes-graphics/gpu-viv-g2d/gpu-viv-g2d.inc index f044a76ab..e851577b0 100644 --- a/meta-fsl-arm/recipes-graphics/gpu-viv-g2d/gpu-viv-g2d.inc +++ b/meta-fsl-arm/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 | ||
| 3 | DESCRIPTION = "GPU Vivante G2D library and sample applications for imx6" | 3 | DESCRIPTION = "GPU Vivante G2D library and sample applications for imx6" |
| 4 | SECTION = "libs" | 4 | SECTION = "libs" |
| @@ -11,13 +11,11 @@ PE = "1" | |||
| 11 | 11 | ||
| 12 | SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true" | 12 | SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true" |
| 13 | 13 | ||
| 14 | PACKAGES = "gpu-viv-g2d gpu-viv-g2d-dev gpu-viv-g2d-dbg" | 14 | PACKAGES += "libg2d" |
| 15 | 15 | ||
| 16 | # Inhibit warnings about files being stripped. | 16 | # Inhibit warnings about files being stripped. |
| 17 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | 17 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" |
| 18 | 18 | ||
| 19 | S = "${WORKDIR}/${PN}-${PV}" | ||
| 20 | |||
| 21 | do_install () { | 19 | do_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 () { | |||
| 35 | REALSOLIBS := "${SOLIBS}" | 33 | REALSOLIBS := "${SOLIBS}" |
| 36 | SOLIBS = "${SOLIBSDEV}" | 34 | SOLIBS = "${SOLIBSDEV}" |
| 37 | 35 | ||
| 38 | FILES_${PN} = "/opt ${libdir}/libg2d${SOLIBS} " | 36 | FILES_${PN} = "/opt" |
| 37 | FILES_libg2d = "${libdir}/libg2d${SOLIBS}" | ||
| 39 | FILES_${PN}-dev = "${includedir}" | 38 | FILES_${PN}-dev = "${includedir}" |
| 40 | FILES_${PN}-dbg = "${libdir}/.debug/libg2d${SOLIBS}" | 39 | FILES_${PN}-dbg = "${libdir}/.debug/libg2d${SOLIBS}" |
| 41 | 40 | ||
