blob: 784e19f2cb3c716a83c13e338474cc388065f2f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
inherit cmake
DEPENDS = "\
azure-macro-utils-c \
curl \
openssl \
umock-c \
util-linux \
"
RDEPENDS_${PN} = "\
util-linux-libuuid \
"
SRC_URI += "\
file://Fix-packaging-issues.patch \
file://Use-pkg-config-to-find-libs.patch \
"
S = "${WORKDIR}/git"
B = "${WORKDIR}/build"
EXTRA_OECMAKE = "\
-Dbuild_as_dynamic:BOOL=ON \
-Dskip_samples:BOOL=ON \
-Duse_installed_dependencies:BOOL=ON \
-Drun_unittests:BOOL=OFF \
"
sysroot_stage_all_append () {
sysroot_stage_dir ${D}${exec_prefix}/cmake ${SYSROOT_DESTDIR}${exec_prefix}/cmake
}
FILES_${PN}-dev += "\
${exec_prefix}/cmake \
"
BBCLASSEXTEND = "native nativesdk"
|