blob: 8ad7d9d10b7e5a52a0b08599f5cda9cd02b61228 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001SUMMARY = "OpenCL API Headers"
2DESCRIPTION = "OpenCL compute API headers from Khronos Group"
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -05003LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08005SECTION = "base"
6
7S = "${WORKDIR}/git"
Andrew Geissler87f5cff2022-09-30 13:13:31 -05008PV = "2022.09.23"
9SRCREV = "5e2f8c66476bcf60eb8c2921807e34efb30294ee"
Andrew Geissler9aee5002022-03-30 16:27:02 +000010SRC_URI = "git://github.com/KhronosGroup/OpenCL-Headers.git;branch=main;protocol=https"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080011
12do_configure[noexec] = "1"
13do_compile[noexec] = "1"
Andrew Geissler9aee5002022-03-30 16:27:02 +000014ALLOW_EMPTY:${PN} = "1"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080015
16do_install () {
17 install -d ${D}${includedir}/CL/
18 install -m 0644 ${S}/CL/*.h ${D}${includedir}/CL
19}