summaryrefslogtreecommitdiffstats
path: root/external/meta-iot-cloud/recipes-azure/azure-uhttp-c/azure-uhttp-c.inc
blob: a97e872bb8501e1fb7d2b26bf02280a667ab725b (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
inherit cmake

DEPENDS = "\
    azure-c-shared-utility \
    azure-macro-utils-c \
    openssl \
"

SRC_URI += "\
    file://Fix-packaging-issues.patch \
"

S = "${WORKDIR}/git"
B = "${WORKDIR}/build"

EXTRA_OECMAKE += "\
    -DBUILD_SHARED_LIBS:BOOL=ON \
    -Dskip_samples:BOOL=ON \
    -Duse_installed_dependencies:BOOL=ON \
    -Duse_openssl:BOOL=ON \
"

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"