summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shbootimg.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/shbootimg.mk b/shbootimg.mk
index 9651e14..d00bee1 100644
--- a/shbootimg.mk
+++ b/shbootimg.mk
@@ -8,5 +8,7 @@ $(INSTALLED_BOOTIMAGE_TARGET): $(INSTALLED_KERNEL_TARGET)
$(call pretty,"Boot image: $@")
$(hide) $(ACP) $(INSTALLED_KERNEL_TARGET) $@
-$(INSTALLED_RECOVERYIMAGE_TARGET): $(INSTALLED_BOOTIMAGE_TARGET)
- $(ACP) $(INSTALLED_BOOTIMAGE_TARGET) $@
+INSTALLED_RECOVERYIMAGE_TARGET := $(PRODUCT_OUT)/recovery.img
+$(INSTALLED_RECOVERYIMAGE_TARGET): $(INSTALLED_RECOVERY_KERNEL_TARGET)
+ $(call pretty,"Recovery image: $@")
+ $(hide) $(ACP) $(INSTALLED_RECOVERY_KERNEL_TARGET) $@