]> code.ossystems Code Review - meta-freescale.git/commitdiff
gpu-viv-g2d: Split libg2d package
authorRogerio Nunes <rogerio.nunes@freescale.com>
Wed, 5 Feb 2014 21:03:26 +0000 (16:03 -0500)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 6 Feb 2014 11:19:59 +0000 (09:19 -0200)
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>
meta-fsl-arm/recipes-graphics/gpu-viv-g2d/gpu-viv-g2d.inc

index f044a76abdafaf1e869cfea8f8bfaf6d0f06e3e9..e851577b02d6e6bdb8cc90007cf4d7c0282d827e 100644 (file)
@@ -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,8 @@ 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}"