[meta-freescale] [meta-fsl-arm][PATCH] gpu-viv-g2d: Split libg2d package
ronunes at gmail.com
ronunes at gmail.com
Wed Feb 5 13:03:26 PST 2014
From: Rogerio Nunes <rogerio.nunes at 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 at freescale.com>
---
recipes-graphics/gpu-viv-g2d/gpu-viv-g2d.inc | 10 +++++-----
1 file changed, 5 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..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}"
--
1.8.3.2
More information about the meta-freescale
mailing list