opencl-headers: Install development files

This installs cmake and pkgconfig files so that other recipes can find
the header files.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Peter Kjellerstedt
2025-03-29 05:04:44 +01:00
committed by Khem Raj
parent 7c0f6444e2
commit 48a37e6c3b
@@ -8,12 +8,10 @@ S = "${WORKDIR}/git"
SRCREV = "8275634cf9ec31b6484c2e6be756237cb583999d"
SRC_URI = "git://github.com/KhronosGroup/OpenCL-Headers.git;branch=main;protocol=https"
do_configure[noexec] = "1"
do_compile[noexec] = "1"
inherit cmake
EXTRA_OECMAKE = "-DBUILD_TESTING=OFF"
ALLOW_EMPTY:${PN} = "1"
do_install () {
install -d ${D}${includedir}/CL/
install -m 0644 ${S}/CL/*.h ${D}${includedir}/CL
}
BBCLASSEXTEND = "native nativesdk"