diff options
Diffstat (limited to 'recipes-multimedia')
-rw-r--r-- | recipes-multimedia/itt/itt/0001-CMakeLists.txt-set-output-directory-path.patch | 33 | ||||
-rw-r--r-- | recipes-multimedia/itt/itt_17.0.bb | 30 |
2 files changed, 63 insertions, 0 deletions
diff --git a/recipes-multimedia/itt/itt/0001-CMakeLists.txt-set-output-directory-path.patch b/recipes-multimedia/itt/itt/0001-CMakeLists.txt-set-output-directory-path.patch new file mode 100644 index 00000000..6009669a --- /dev/null +++ b/recipes-multimedia/itt/itt/0001-CMakeLists.txt-set-output-directory-path.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From 6bced614fe448ee7fc6216b528e2c5684446f9c6 Mon Sep 17 00:00:00 2001 | ||
2 | From: Naveen Saini <naveen.kumar.saini@intel.com> | ||
3 | Date: Tue, 14 May 2019 16:57:27 +0800 | ||
4 | Subject: [PATCH] CMakeLists.txt: set output directory path | ||
5 | |||
6 | Installer section of CMakeLists.txt expect bin | ||
7 | direcotry should be present at PROJECT_SOURCE_DIR | ||
8 | |||
9 | set(SEA_PROJECT_BIN ${PROJECT_SOURCE_DIR}/bin) | ||
10 | |||
11 | Upstream-Status: Inappropriate | ||
12 | |||
13 | Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> | ||
14 | --- | ||
15 | CMakeLists.txt | 2 +- | ||
16 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
17 | |||
18 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
19 | index 479c443..01f0124 100644 | ||
20 | --- a/CMakeLists.txt | ||
21 | +++ b/CMakeLists.txt | ||
22 | @@ -65,7 +65,7 @@ foreach (Flag ${Flags}) | ||
23 | message(STATUS "${Flag} = ${${Flag}}") | ||
24 | endforeach() | ||
25 | |||
26 | -set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/../../bin) | ||
27 | +set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/bin) | ||
28 | |||
29 | set(EXECUTABLE_OUTPUT_PATH ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}) | ||
30 | set(LIBRARY_OUTPUT_PATH ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}) | ||
31 | -- | ||
32 | 2.17.0 | ||
33 | |||
diff --git a/recipes-multimedia/itt/itt_17.0.bb b/recipes-multimedia/itt/itt_17.0.bb new file mode 100644 index 00000000..a40a2e9b --- /dev/null +++ b/recipes-multimedia/itt/itt_17.0.bb | |||
@@ -0,0 +1,30 @@ | |||
1 | SUMMARY = "IntelĀ® Single Event API" | ||
2 | DESCRIPTION = "IntelĀ® SEAPI is the translator of itt_notify calls into \ | ||
3 | several OS specific and third party tracing formats. \ | ||
4 | You can use it as memory/performance/whatever profiler." | ||
5 | |||
6 | LICENSE = "BSD-3-Clause" | ||
7 | LIC_FILES_CHKSUM = "file://sea_itt_lib/Copyright.txt;md5=7d54dfc8860742fb06b9c5ad28f41fcd" | ||
8 | |||
9 | SRC_URI = "\ | ||
10 | git://github.com/intel/IntelSEAPI.git;protocol=https \ | ||
11 | file://0001-CMakeLists.txt-set-output-directory-path.patch \ | ||
12 | " | ||
13 | SRCREV="36bff07521afffc0c0f7db79252338954ca7e6dd" | ||
14 | S = "${WORKDIR}/git" | ||
15 | |||
16 | inherit pkgconfig cmake | ||
17 | |||
18 | EXTRA_OECMAKE += "-DCMAKE_BUILD_TYPE=Release" | ||
19 | EXTRA_OECMAKE += "-DDCO_PILOT=0" | ||
20 | EXTRA_OECMAKE += "${@oe.utils.conditional('TARGET_ARCH','x86_64','','-DFORCE_32=ON',d)}" | ||
21 | |||
22 | COMPATIBLE_HOST_libc-musl_class-target = "null" | ||
23 | |||
24 | do_install() { | ||
25 | install -d -m 755 ${D}${libdir} ${D}${includedir} | ||
26 | install -m 644 ${S}/bin/*.a ${D}${libdir} | ||
27 | install -m 644 ${S}/ittnotify/include/ittnotify.h ${D}${includedir} | ||
28 | } | ||
29 | |||
30 | RDEPENDS_${PN}-dev_remove = "${PN} (= ${EXTENDPKGV})" | ||