Closed binaryslark closed 1 year ago
#ifdef OPLUS_FEATURE_POWERINFO_STANDBY
#include <soc/oplus/oplus_wakelock_profiler.h>
It‘s controled by OPLUS_FEATURE_POWERINFO_STANDBY and this is not enabled. Enabled feature list is oplus_native_features.mk. Before execute make, please export variables in this file.
export the oplus_native_features.mk
(commands below), it works for me.
set -a
. .\oplus_native_features.mk
set +a
drivers/soc/oplus/owakelock
module is missing#include <soc/oplus/oplus_wakelock_profiler.h>
causes the errorNote: i can fix this one with edit line
kernel/time/alarmtimer.c:39:10
(just like what op8 did), but the other#include <soc/oplus/oplus_wakelock_profiler.h>
also cause errors