Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9ce477f6 authored by Koushik Dutta's avatar Koushik Dutta
Browse files

deprecate BOARD_USES_RECOVERY_CHARGEMODE

Change-Id: Id41cd817f92ae9b7d1da457b9afb8210bf069f7a
parent c953afbf
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -703,7 +703,7 @@ ifneq ($(TARGET_RECOVERY_INITRC),)
  recovery_initrc := $(TARGET_RECOVERY_INITRC) # Use target specific init.rc
else
ifeq ($(BOARD_USES_RECOVERY_CHARGEMODE),true)
   recovery_initrc := $(call include-path-for, recovery)/etc/init.htc.rc
  $(error BOARD_USES_RECOVERY_CHARGEMODE is deprecated. Please see http://bit.ly/opcSJZ on how to properly implement chargemode in recovery. Or just remove the BOARD_USES_RECOVERY_CHARGEMODE if you are lazy. I will hate you though. -Koush)
else
  recovery_initrc := $(call include-path-for, recovery)/etc/init.rc
endif