mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 05:49:57 +00:00
731546f048
- Add PV to include package version + git revision. - Add ALLOW_EMPTY to prevent error [1] when installing package in image. - Change branch name master -> main according to upstream repository. [1]: opencl-headers installation error: E: Package 'opencl-headers' has no installation candidate Signed-off-by: Daniel Gomez <daniel@qtec.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
20 lines
581 B
BlitzBasic
20 lines
581 B
BlitzBasic
SUMMARY = "OpenCL API Headers"
|
|
DESCRIPTION = "OpenCL compute API headers from Khronos Group"
|
|
LICENSE = "Apache-2.0"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
|
|
SECTION = "base"
|
|
|
|
S = "${WORKDIR}/git"
|
|
PV = "v2022.01.04+git${SRCPV}"
|
|
SRCREV = "59ac4dc2f282286d8db83143686cfe37ec658b84"
|
|
SRC_URI = "git://github.com/KhronosGroup/OpenCL-Headers.git;branch=main;protocol=https"
|
|
|
|
do_configure[noexec] = "1"
|
|
do_compile[noexec] = "1"
|
|
ALLOW_EMPTY:${PN} = "1"
|
|
|
|
do_install () {
|
|
install -d ${D}${includedir}/CL/
|
|
install -m 0644 ${S}/CL/*.h ${D}${includedir}/CL
|
|
}
|