power: Allow device specific hooks for setMode, isModeSupported
* Some devices may want to implement custom hooks Change-Id: Icb2d66471ec649a69b1e69849fd86282775052cb
This commit is contained in:
@@ -83,6 +83,11 @@ endif
|
||||
|
||||
endif # End of board specific list
|
||||
|
||||
ifneq ($(TARGET_POWERHAL_MODE_EXT),)
|
||||
LOCAL_CFLAGS += -DMODE_EXT
|
||||
LOCAL_SRC_FILES += ../../../../$(TARGET_POWERHAL_MODE_EXT)
|
||||
endif
|
||||
|
||||
ifneq ($(TARGET_POWERHAL_SET_INTERACTIVE_EXT),)
|
||||
LOCAL_CFLAGS += -DSET_INTERACTIVE_EXT
|
||||
LOCAL_SRC_FILES += ../../../../$(TARGET_POWERHAL_SET_INTERACTIVE_EXT)
|
||||
|
||||
Reference in New Issue
Block a user