summaryrefslogtreecommitdiff
path: root/recipes/trdx-nv-binaries/nvsamples.bb
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2016-08-08 20:07:30 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2016-09-29 20:40:30 +0200
commitd05dffc7e589c9d2c57498ef332701fa8c489938 (patch)
tree52b06784d9a367acb0df65fc813dec380a7eef16 /recipes/trdx-nv-binaries/nvsamples.bb
parentb5b84f3f8c67c53648fadb1052fd2382ae093119 (diff)
trdx-nv-binaries: mv all files into recipes-bsp/trdx-nv-binaries
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'recipes/trdx-nv-binaries/nvsamples.bb')
-rw-r--r--recipes/trdx-nv-binaries/nvsamples.bb59
1 files changed, 0 insertions, 59 deletions
diff --git a/recipes/trdx-nv-binaries/nvsamples.bb b/recipes/trdx-nv-binaries/nvsamples.bb
deleted file mode 100644
index b367ceb..0000000
--- a/recipes/trdx-nv-binaries/nvsamples.bb
+++ /dev/null
@@ -1,59 +0,0 @@
-SECTION = "graphical/utils"
-SUMMARY = "Nvidia samples for OpenGL ES, OpenGL ES headers"
-LICENSE = "CLOSED"
-DEPENDS = "trdx-nv-binaries virtual/libx11 libsm libice"
-RDEPENDS_{PN} = "trdx-nv-binaries"
-
-PR = "r1"
-
-PARALLEL_MAKE = ""
-
-SRC_URI = "http://developer.toradex.com/files/toradex-dev/uploads/media/Colibri/Linux/Samples/nvsamples.tar.bz2 \
- file://nvsamples-oe.patch \
- file://nvsamples-no-binary-shaders.patch \
- file://nvsamples-hardfp.patch \
-"
-
-S = "${WORKDIR}/nvsamples"
-
-SRC_URI[md5sum] = "240b0beb0056dde2e6ac1538dc8b6684"
-SRC_URI[sha256sum] = "2638beea80fd85fdc5f9443e6959c210e275e627f662266cd404ce7c68b0806d"
-
-#no gnu_hash in NVIDIA binaries, skip QA for this package
-INSANE_SKIP_${PN} = "dev-so ldflags"
-
-FILES_${PN} += " \
- /home/root/textures/* \
- /home/root/shaders/* \
-"
-
-do_compile () {
- cd ${S}/samples/tools/nvtexfont2
- oe_runmake clean
- oe_runmake WORKDIR=${WORKDIR}
- ln -sf ../samples/tools/nvtexfont2/libnvtexfont2.a ${S}/lib-target/
-
- cd ${S}/samples/tools/nvgl2demo_common
- oe_runmake clean
- oe_runmake WORKDIR=${WORKDIR}
- ln -sf ../samples/tools/nvgl2demo_common/libnvgl2demo_common.a ${S}/lib-target/
-
- cd ${S}/samples/opengles2
- oe_runmake clean
- oe_runmake WORKDIR=${WORKDIR}
-}
-
-do_install () {
- # install the sample code
- install -d ${D}${bindir}
- install -d ${D}/home/root/textures
- install -d ${D}/home/root/shaders
- install -m 0755 ${S}/samples/opengles2/ctree/ctree ${D}${bindir}
- install -m 0644 ${S}/samples/opengles2/ctree/textures/* ${D}/home/root/textures
- install -m 0644 ${S}/samples/opengles2/ctree/*.glsl? ${D}/home/root/shaders
- install -m 0755 ${S}/samples/opengles2/bubble/bubble ${D}${bindir}
- install -m 0644 ${S}/samples/opengles2/bubble/textures/* ${D}/home/root/textures
- install -m 0644 ${S}/samples/opengles2/bubble/*.glsl? ${D}/home/root/shaders
- install -m 0755 ${S}/samples/opengles2/gears/gears ${D}${bindir}
- install -m 0644 ${S}/samples/opengles2/gears/*.glsl? ${D}/home/root/shaders
-}