summaryrefslogtreecommitdiffstats
path: root/shbootimg.mk
diff options
context:
space:
mode:
Diffstat (limited to 'shbootimg.mk')
-rw-r--r--shbootimg.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/shbootimg.mk b/shbootimg.mk
index 1afbf1d..0968b2d 100644
--- a/shbootimg.mk
+++ b/shbootimg.mk
@@ -17,6 +17,7 @@
LOCAL_PATH := $(call my-dir)
INSTALLED_BOOTIMAGE_TARGET := $(PRODUCT_OUT)/boot.img
+INSTALLED_RECOVERYIMAGE_TARGET := $(PRODUCT_OUT)/recovery.img
uncompressed_ramdisk := $(PRODUCT_OUT)/ramdisk.cpio
$(uncompressed_ramdisk): $(INSTALLED_RAMDISK_TARGET)
@@ -30,5 +31,5 @@ TARGET_KERNEL_BINARIES: $(KERNEL_OUT) $(KERNEL_CONFIG) $(KERNEL_HEADERS_INSTALL)
$(INSTALLED_BOOTIMAGE_TARGET): $(INSTALLED_KERNEL_TARGET)
$(ACP) -fp $< $@
-$(INSTALLED_RECOVERYIMAGE_TARGET): $(recovery_uncompressed_ramdisk)
- lzop -f9 -o $@ $<
+$(INSTALLED_RECOVERYIMAGE_TARGET): $(INSTALLED_RECOVERY_KERNEL_TARGET)
+ $(ACP) -fp $< $@