commit | 4bd5bef40da4d7c2a06d2869c110efaa25e0702e | [log] [tgz] |
---|---|---|
author | you.chen <you.chen@mobiletek.cn> | Thu Jun 15 16:43:23 2023 +0800 |
committer | you.chen <you.chen@mobiletek.cn> | Thu Jun 15 17:03:28 2023 +0800 |
tree | 91ed60a56e42b9e93a24509a29996afd407fe873 | |
parent | b16db699797837dd93a89da9732563a2b2898183 [diff] |
[Feature][ZXW-43][log] enable lynq-log module Change-Id: Iaf9c91cfd92f148ab741199cef02948081e5ee7d
diff --git a/cap/zx297520v3/sources/meta-zxic-custom/recipes-lynq/liblynq-log/liblynq-log.bb b/cap/zx297520v3/sources/meta-zxic-custom/recipes-lynq/liblynq-log/liblynq-log.bb index c6ee2f1..4ff706e 100755 --- a/cap/zx297520v3/sources/meta-zxic-custom/recipes-lynq/liblynq-log/liblynq-log.bb +++ b/cap/zx297520v3/sources/meta-zxic-custom/recipes-lynq/liblynq-log/liblynq-log.bb
@@ -6,7 +6,7 @@ LICENSE = "CLOSED" LIC_FILES_CHKSUM = "file://LICENSE;md5=e1696b147d49d491bcb4da1a57173fff" #DEPENDS += "platform-libs libpal nandapi liblynq-uci" -DEPENDS += "liblynq-uci" +DEPENDS += "liblynq-uci libbinder" inherit workonsrc WORKONSRC = "${TOPDIR}/../src/lynq/lib/liblynq-log"
diff --git a/cap/zx297520v3/src/lynq/lib/liblynq-log/include/liblog/liblog.h b/cap/zx297520v3/src/lynq/lib/liblynq-log/include/liblog/liblog.h index dd8c7c0..03b183a 100755 --- a/cap/zx297520v3/src/lynq/lib/liblynq-log/include/liblog/liblog.h +++ b/cap/zx297520v3/src/lynq/lib/liblynq-log/include/liblog/liblog.h
@@ -5,10 +5,10 @@ extern "C" { #endif -#define LOG_ENABLE 0 +#define LOG_ENABLE 1 //#if LOG_ENABLE -#if !LOG_ENABLE +#if LOG_ENABLE #define ENABLE(X) (1<<(X)) #define LOG_LEVEL_ENABLE ENABLE(LOG_VERBOSE)
diff --git a/cap/zx297520v3/src/lynq/lib/liblynq-log/log-riltel/log.c b/cap/zx297520v3/src/lynq/lib/liblynq-log/log-riltel/log.c index 7bbbeac..c59374b 100755 --- a/cap/zx297520v3/src/lynq/lib/liblynq-log/log-riltel/log.c +++ b/cap/zx297520v3/src/lynq/lib/liblynq-log/log-riltel/log.c
@@ -4,7 +4,7 @@ #include <stdlib.h> #include <unistd.h> #include <string.h> -//#include <log/log.h> +#include <log/log.h> #include <include/lynq_uci.h> #define LOG_NAME_LEN 128
diff --git a/cap/zx297520v3/src/lynq/lib/liblynq-log/log-riltel/makefile b/cap/zx297520v3/src/lynq/lib/liblynq-log/log-riltel/makefile index 37d7896..ee97243 100755 --- a/cap/zx297520v3/src/lynq/lib/liblynq-log/log-riltel/makefile +++ b/cap/zx297520v3/src/lynq/lib/liblynq-log/log-riltel/makefile
@@ -25,6 +25,7 @@ -L. \ -ldl \ -llynq-uci \ + -llog \ SOURCES = $(wildcard *.c wildcard *.h)