Skip to content
Snippets Groups Projects
Commit 3c321861 authored by Zbigniew Bodek's avatar Zbigniew Bodek Committed by Robert Drab
Browse files

Introduce hiviewdfx recipes


Provides hilog dependency to those who need
to use hilog functions.

Signed-off-by: default avatarZbigniew Bodek <zbigniew.bodek@huawei.com>
parent 2f40c190
No related branches found
No related tags found
No related merge requests found
SUMMARY = "Hiviewdfx Hilog"
DESCRIPTION = "Hiviewdfx Hilog logging module"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=98c2e72b17fae6c40fb14fd5e43b29ec"
DEPENDS += "hiviewdfx-innerkits-hilog libsec"
SRC_URI = "git://gitee.com/openharmony/hiviewdfx_frameworks_hilog_lite.git;protocol=https"
PV = "1.0+git${SRCPV}"
PVSHORT = '${@d.getVar("PV", False).split("+")[0]}'
PVMAJOR = '${@d.getVar("PV", False).split(".")[0]}'
SRCREV = "e8b70de7579e2634b16fac90adbc5d10755dae2e"
S = "${WORKDIR}/git"
CFLAGS += "-I${S}/include -fPIC -shared"
LDFLAGS += "-Wl,-soname,lib${PN}.so.${PVMAJOR} -lsec"
do_compile () {
${CC} ${CFLAGS} ${LDFLAGS} featured/*.c -o ${B}/lib${PN}.so.${PVSHORT}
}
do_install () {
install -d ${D}${libdir}
oe_soinstall ${B}/lib${PN}.so.${PVSHORT} ${D}${libdir}
}
SUMMARY = "OHOS Hiviewdfx innerkits"
DESCRIPTION = "OHOS interface innerkits for Hiviewdfx"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=98c2e72b17fae6c40fb14fd5e43b29ec"
SRC_URI = "git://gitee.com/openharmony/hiviewdfx_interfaces_innerkits_hilog.git;protocol=https"
PV = "1.0+git${SRCPV}"
SRCREV = "6a2507b98ba606af7383869be084a8ecbec6b095"
S = "${WORKDIR}/git"
do_install () {
install -d ${D}${includedir}
install -m 0755 ${S}/*.h ${D}${includedir}/
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment