commit | cbc08b623e271e7aabecd9e139252d86d7eb35c5 | [log] [tgz] |
---|---|---|
author | you.chen <you.chen@mobiletek.cn> | Wed Dec 27 15:41:06 2023 +0800 |
committer | you.chen <you.chen@mobiletek.cn> | Wed Dec 27 15:41:06 2023 +0800 |
tree | 285c2096487ad6572091490f080f2dde2319df9c | |
parent | 45e64ec0e77fd2d31dea7bd61dba4cac658c0d50 [diff] |
[Feature][T8TSK-289] add compile macro for autosuspend Only Configure: No Affected branch: LYNQ_PUBLIC Affected module: autosuspend Is it affected on both ZXIC and MTK: only MTK Self-test: No Doc Update: No Change-Id: I756716713fd0be222ed7896ce52163abed13ec2c
diff --git a/IC_meta/mtk/2735/suspend-service/files/makefile b/IC_meta/mtk/2735/suspend-service/files/makefile old mode 100644 new mode 100755 index 75e1102..e17db4e --- a/IC_meta/mtk/2735/suspend-service/files/makefile +++ b/IC_meta/mtk/2735/suspend-service/files/makefile
@@ -10,6 +10,9 @@ -D__LINUX_OS__ \ -DECALL_SUPPORT +ifeq ($(strip $(MOBILETEK_SUSPEND_CFG)), GSW) + LOCAL_CFLAGS += -DGSW_SUSPEND_CFG +endif
diff --git a/IC_meta/mtk/2735/suspend-service/lynq-autosuspend.bb b/IC_meta/mtk/2735/suspend-service/lynq-autosuspend.bb old mode 100644 new mode 100755 index 97046eb..ccf4034 --- a/IC_meta/mtk/2735/suspend-service/lynq-autosuspend.bb +++ b/IC_meta/mtk/2735/suspend-service/lynq-autosuspend.bb
@@ -23,6 +23,9 @@ OBJECTS = "$(SOURCES:.c=.o)" +MOBILETEK_SUSPEND_CFG ?= "" +EXTRA_OEMAKE += "'MOBILETEK_SUSPEND_CFG = ${MOBILETEK_SUSPEND_CFG}'" + EXECUTABLE = "autosuspend" S = "${WORKDIR}" TARGET_CC_ARCH += "${LDFLAGS}"