Commit 8e26e147 authored by Todd Kjos's avatar Todd Kjos Committed by openeuler-sync-bot
Browse files

ANDROID: simplify vendor hooks for non-GKI builds

aosp inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I7YFU9

Reference: https://android.googlesource.com/kernel/common/+/943c3b3124d2



-------------------------------------------------

Vendor hooks required explicitly defining macros or inline functions
to handle the non-GKI build case (!CONFIG_ANDROID_VENDOR_HOOKS). Added
support for generating them automatically so the macros are no longer
required.

Both models are now supported so we can transition.

Bug: 177416721
Signed-off-by: default avatarTodd Kjos <tkjos@google.com>
Change-Id: I01acc389d315a5d509b0c48116854342a42e1058
Signed-off-by: default avatarYu Liao <liaoyu15@huawei.com>
(cherry picked from commit 58c3658c)
parent 621a5103
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment