awinic sar:add KBUILD_OPTIONS

awinic sar:
Add KBUILD_OPTIONS for recent kernel versions.

Change-Id: If3fa414716a1b741ab2362a0f76d7a73c58444aa
Reviewed-on: https://gerrit.mot.com/2790604
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yuchang Guo <guoyc1@lenovo.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Reviewed-by: Jiyue Cui <cuijy2@lenovo.com>
This commit is contained in:
Yuchang Guo 2023-11-09 16:13:42 +08:00
commit 0769523d6e

View file

@ -3,6 +3,7 @@ LOCAL_PATH := $(call my-dir)
ifeq ($(AW96XX_USB_USE_ONLINE),true)
KERNEL_CFLAGS += CONFIG_AW96XX_POWER_SUPPLY_ONLINE=y
KBUILD_OPTIONS += CONFIG_AW96XX_POWER_SUPPLY_ONLINE=y
endif
include $(CLEAR_VARS)