mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
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>
This commit is contained in:
parent
1d7ae7438a
commit
256de4995c
17
meta-oe/recipes-core/opencl-headers/opencl-headers_git.bb
Normal file
17
meta-oe/recipes-core/opencl-headers/opencl-headers_git.bb
Normal file
|
|
@ -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
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user