diff options
author | Peter Kjellerstedt <pkj@axis.com> | 2025-03-29 05:04:44 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-03-29 08:24:01 -0700 |
commit | 48a37e6c3beac2795a72f1748eb6a2f77ce2aed4 (patch) | |
tree | 2b892d7f0ed34cccba3d08725465502a0731fbbc | |
parent | 7c0f6444e208562075c79afd616891dc1957c1de (diff) | |
download | meta-openembedded-48a37e6c3beac2795a72f1748eb6a2f77ce2aed4.tar.gz |
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>
-rw-r--r-- | meta-oe/recipes-core/opencl/opencl-headers_2024.05.08.bb | 10 |
1 files 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" | |||
8 | SRCREV = "8275634cf9ec31b6484c2e6be756237cb583999d" | 8 | SRCREV = "8275634cf9ec31b6484c2e6be756237cb583999d" |
9 | SRC_URI = "git://github.com/KhronosGroup/OpenCL-Headers.git;branch=main;protocol=https" | 9 | SRC_URI = "git://github.com/KhronosGroup/OpenCL-Headers.git;branch=main;protocol=https" |
10 | 10 | ||
11 | do_configure[noexec] = "1" | 11 | inherit cmake |
12 | do_compile[noexec] = "1" | 12 | |
13 | EXTRA_OECMAKE = "-DBUILD_TESTING=OFF" | ||
14 | |||
13 | ALLOW_EMPTY:${PN} = "1" | 15 | ALLOW_EMPTY:${PN} = "1" |
14 | 16 | ||
15 | do_install () { | ||
16 | install -d ${D}${includedir}/CL/ | ||
17 | install -m 0644 ${S}/CL/*.h ${D}${includedir}/CL | ||
18 | } | ||
19 | BBCLASSEXTEND = "native nativesdk" | 17 | BBCLASSEXTEND = "native nativesdk" |