summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/Android.mk b/Android.mk
index e13af68be..bd4902d39 100644
--- a/Android.mk
+++ b/Android.mk
@@ -39,9 +39,7 @@ LOCAL_SRC_FILES += \
twrp-functions.cpp \
openrecoveryscript.cpp
-ifeq ($(TARGET_RECOVERY_REBOOT_SRC),)
- LOCAL_SRC_FILES += reboot.c
-else
+ifneq ($(TARGET_RECOVERY_REBOOT_SRC),)
LOCAL_SRC_FILES += $(TARGET_RECOVERY_REBOOT_SRC)
endif