mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-09 04:11:16 +00:00
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:
committed by
Khem Raj
parent
7c0f6444e2
commit
48a37e6c3b
@@ -8,12 +8,10 @@ S = "${WORKDIR}/git"
|
|||||||
SRCREV = "8275634cf9ec31b6484c2e6be756237cb583999d"
|
SRCREV = "8275634cf9ec31b6484c2e6be756237cb583999d"
|
||||||
SRC_URI = "git://github.com/KhronosGroup/OpenCL-Headers.git;branch=main;protocol=https"
|
SRC_URI = "git://github.com/KhronosGroup/OpenCL-Headers.git;branch=main;protocol=https"
|
||||||
|
|
||||||
do_configure[noexec] = "1"
|
inherit cmake
|
||||||
do_compile[noexec] = "1"
|
|
||||||
|
EXTRA_OECMAKE = "-DBUILD_TESTING=OFF"
|
||||||
|
|
||||||
ALLOW_EMPTY:${PN} = "1"
|
ALLOW_EMPTY:${PN} = "1"
|
||||||
|
|
||||||
do_install () {
|
|
||||||
install -d ${D}${includedir}/CL/
|
|
||||||
install -m 0644 ${S}/CL/*.h ${D}${includedir}/CL
|
|
||||||
}
|
|
||||||
BBCLASSEXTEND = "native nativesdk"
|
BBCLASSEXTEND = "native nativesdk"
|
||||||
|
|||||||
Reference in New Issue
Block a user