aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-core
diff options
context:
space:
mode:
authorAnkit Navik <ankit.tarot@gmail.com>2018-10-16 23:19:02 +0530
committerKhem Raj <raj.khem@gmail.com>2018-10-16 17:26:23 -0700
commit256de4995c6bf42b82b07f275aa0f9adf43a1db0 (patch)
tree079f4124ae82f6f60f7fa65bdfcc75bf59d52f90 /meta-oe/recipes-core
parent1d7ae7438aecb21f694a9e5a6c38f7833130882f (diff)
downloadmeta-openembedded-256de4995c6bf42b82b07f275aa0f9adf43a1db0.tar.gz
meta-openembedded-256de4995c6bf42b82b07f275aa0f9adf43a1db0.tar.bz2
meta-openembedded-256de4995c6bf42b82b07f275aa0f9adf43a1db0.zip
opencl-headers: Initial recipe for OpenCL headers
Add generic recipe for OpenCL API headers. Suggested-by: Burton, Ross <ross.burton@intel.com> Signed-off-by: Ankit Navik <ankit.tarot@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-core')
-rw-r--r--meta-oe/recipes-core/opencl-headers/opencl-headers_git.bb17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta-oe/recipes-core/opencl-headers/opencl-headers_git.bb b/meta-oe/recipes-core/opencl-headers/opencl-headers_git.bb
new file mode 100644
index 000000000..dec1bea56
--- /dev/null
+++ b/meta-oe/recipes-core/opencl-headers/opencl-headers_git.bb
@@ -0,0 +1,17 @@
+SUMMARY = "OpenCL API Headers"
+DESCRIPTION = "OpenCL compute API headers from Khronos Group"
+LICENSE = "Khronos"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=dcefc90f4c3c689ec0c2489064e7273b"
+SECTION = "base"
+
+S = "${WORKDIR}/git"
+SRCREV = "40c5d226c7c0706f0176884e9b94b3886679c983"
+SRC_URI = "git://github.com/KhronosGroup/OpenCL-Headers.git"
+
+do_configure[noexec] = "1"
+do_compile[noexec] = "1"
+
+do_install () {
+ install -d ${D}${includedir}/CL/
+ install -m 0644 ${S}/CL/*.h ${D}${includedir}/CL
+}