From: ronunes@gmail.com
To: meta-freescale@yoctoproject.org
Cc: Rogerio Nunes <rogerio.nunes@freescale.com>
Subject: [meta-fsl-demos][PATCH v2 1/7] fsl-gpu-sdk: create version 1.1 recipe
Date: Thu, 27 Feb 2014 02:53:52 -0500 [thread overview]
Message-ID: <1393487638-5096-1-git-send-email-ronunes@gmail.com> (raw)
From: Evan Kotara <evan.kotara@freescale.com>
This patch results from a squash between two patches from the
meta-fsl-bsp-release layer:
http://git.freescale.com/git/cgit.cgi/imx/me
7f3add015f2f... fsl-gpu-sdk: create version 1.1 recipe
27452615b9b1... fsl-gpu-sdk: Prefer X11 if wayland is also in distro features
It creates the fsl-gpu-sdk recipe, which is equivalent to the vivante-gpu-sdk
recipe currenly in use.
The new recipe name reflects the name of the most recent gpu sdk package name
released by freescale, so the intention is to remove the old recipe in a
separete commit.
If both X11 and Wayland are in DISTRO_FEATURES, prefer X11.
Signed-off-by: Evan Kotara <evan.kotara@freescale.com>
Signed-off-by: Rogerio Nunes <rogerio.nunes@freescale.com>
---
recipes-graphics/fsl-gpu-sdk/fsl-gpu-sdk_1.1.bb | 40 +++++++++++++++++++++++++
1 file changed, 40 insertions(+)
create mode 100644 recipes-graphics/fsl-gpu-sdk/fsl-gpu-sdk_1.1.bb
diff --git a/recipes-graphics/fsl-gpu-sdk/fsl-gpu-sdk_1.1.bb b/recipes-graphics/fsl-gpu-sdk/fsl-gpu-sdk_1.1.bb
new file mode 100644
index 0000000..812e23d
--- /dev/null
+++ b/recipes-graphics/fsl-gpu-sdk/fsl-gpu-sdk_1.1.bb
@@ -0,0 +1,40 @@
+SUMMARY = "Freescale GPU SDK Samples"
+DESCRIPTION = "Set of sample applications for Freescale GPU"
+LICENSE = "Proprietary"
+LIC_FILES_CHKSUM = "file://COPYING;md5=44e96dac83a60d6c21a6055f7b31cf0c"
+DEPENDS = "virtual/libgles1 virtual/libgles2 ${WL_DEPENDS}"
+WL_DEPENDS = "${@base_contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}"
+
+inherit fsl-eula-unpack
+
+SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true"
+SRC_URI[md5sum] = "7cf0e66cfc6202a51bdd42573e601e6a"
+SRC_URI[sha256sum] = "89e3753b343b67e3a0d82fe3e96f0b388e73a650c2a00c767cf67efce7d0c217"
+
+S = "${WORKDIR}/${PN}-${PV}"
+
+SUPPORTED_APIS = "GLES1.1 GLES2.0 ${@base_contains('DISTRO_FEATURES', 'x11', '', 'OpenVG', d)}"
+MAKEFILE_NO_X11 = "${@base_contains('DISTRO_FEATURES', 'wayland', 'Makefile.wl', 'Makefile.fbdev', d)}"
+MAKEFILE = "${@base_contains('DISTRO_FEATURES', 'x11', 'Makefile.x11', '${MAKEFILE_NO_X11}', d)}"
+
+EXTRA_OEMAKE += "YOCTO_BUILD=1"
+
+do_compile () {
+ export ROOTFS=${STAGING_DIR_HOST}
+ for API in ${SUPPORTED_APIS}; do
+ cd "${S}/Samples/${API}"
+ oe_runmake -f "${MAKEFILE}"
+ done
+}
+
+do_install () {
+ install -d "${D}/opt/${PN}"
+ for API in ${SUPPORTED_APIS}; do
+ cd "${S}/Samples/${API}"
+ oe_runmake -f "${MAKEFILE}" install
+ cp -r bin/* "${D}/opt/${PN}"
+ done
+}
+
+FILES_${PN} += "/opt/${PN}"
+FILES_${PN}-dbg += "/opt/${PN}/*/.debug"
--
1.8.3.2
next reply other threads:[~2014-02-27 7:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-27 7:53 ronunes [this message]
2014-02-27 7:53 ` [meta-fsl-demos][PATCH v2 2/7] vivante-gpu-sdk: remove this old recipe ronunes
2014-02-27 7:53 ` [meta-fsl-demos][PATCH v2 3/7] packagegroup-fsl: create gpu packagegroups ronunes
2014-02-27 7:53 ` [meta-fsl-demos][PATCH v2 4/7] packagegroup-fsl-*, fsl-image-*: Gstreamer packagegroup refactoring ronunes
2014-02-27 18:29 ` Otavio Salvador
2014-02-28 2:51 ` Rogerio Nunes
2014-02-27 7:53 ` [meta-fsl-demos][PATCH v2 5/7] fsl-image-multimedia: Add ronunes
2014-02-27 7:53 ` [meta-fsl-demos][PATCH v2 6/7] fsl-image-multimedia-full: Add ronunes
2014-02-27 7:53 ` [meta-fsl-demos][PATCH v2 7/7] fsl-image-machine-test: Add ronunes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1393487638-5096-1-git-send-email-ronunes@gmail.com \
--to=ronunes@gmail.com \
--cc=meta-freescale@yoctoproject.org \
--cc=rogerio.nunes@freescale.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.