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"