Patchwork [meta-fsl-arm] gpu-viv-g2d: Split libg2d package

login
register
mail settings
Submitter Rogerio Nunes
Date Feb. 5, 2014, 9:03 p.m.
Message ID <1391634206-12366-1-git-send-email-ronunes@gmail.com>
Download mbox | patch
Permalink /patch/66355/
State Accepted
Delegated to: Otavio Salvador
Headers show

Comments

Rogerio Nunes - Feb. 5, 2014, 9:03 p.m.
From: Rogerio Nunes <rogerio.nunes@freescale.com>

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>
---
 recipes-graphics/gpu-viv-g2d/gpu-viv-g2d.inc | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Patch

diff --git a/recipes-graphics/gpu-viv-g2d/gpu-viv-g2d.inc b/recipes-graphics/gpu-viv-g2d/gpu-viv-g2d.inc
index f044a76..5e412f9 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 @@ 
-# Copyright (C) 2013 Freescale Semiconductor
+# Copyright (C) 2013, 2014 Freescale Semiconductor
 
 DESCRIPTION = "GPU Vivante G2D library and sample applications for imx6"
 SECTION = "libs"
@@ -11,13 +11,11 @@  PE = "1"
 
 SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true"
 
-PACKAGES = "gpu-viv-g2d gpu-viv-g2d-dev gpu-viv-g2d-dbg"
+PACKAGES += "libg2d"
 
 # Inhibit warnings about files being stripped.
 INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
 
-S = "${WORKDIR}/${PN}-${PV}"
-
 do_install () {
     install -d ${D}${libdir}
     install -d ${D}${includedir}
@@ -35,7 +33,9 @@  do_install () {
 REALSOLIBS := "${SOLIBS}"
 SOLIBS = "${SOLIBSDEV}"
 
-FILES_${PN} = "/opt ${libdir}/libg2d${SOLIBS} "
+FILES_${PN} = "/opt"
+FILES_libg2d = "${libdir}/libg2d${SOLIBS}"
+
 FILES_${PN}-dev = "${includedir}"
 FILES_${PN}-dbg = "${libdir}/.debug/libg2d${SOLIBS}"