From 48a37e6c3beac2795a72f1748eb6a2f77ce2aed4 Mon Sep 17 00:00:00 2001 From: Peter Kjellerstedt Date: Sat, 29 Mar 2025 05:04:44 +0100 Subject: 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 Signed-off-by: Khem Raj --- meta-oe/recipes-core/opencl/opencl-headers_2024.05.08.bb | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/meta-oe/recipes-core/opencl/opencl-headers_2024.05.08.bb b/meta-oe/recipes-core/opencl/opencl-headers_2024.05.08.bb index 01e83c812c..8663b818e3 100644 --- a/meta-oe/recipes-core/opencl/opencl-headers_2024.05.08.bb +++ b/meta-oe/recipes-core/opencl/opencl-headers_2024.05.08.bb @@ -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" -- cgit v1.2.3-54-g00ecf