summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2013-12-27 13:46:27 +0100
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-01-11 00:14:55 +0100
commit37c8664812d61f5642fd45f78ccbe922c8c64b09 (patch)
treec0516a9abc6df9f5c19bba4f096abddbc565729b
parent24bf4db81b4673a6c9f9695043179f07bde7cc56 (diff)
downloaddevice_samsung_galaxys2-common-37c8664812d61f5642fd45f78ccbe922c8c64b09.zip
device_samsung_galaxys2-common-37c8664812d61f5642fd45f78ccbe922c8c64b09.tar.gz
device_samsung_galaxys2-common-37c8664812d61f5642fd45f78ccbe922c8c64b09.tar.bz2
Standalone recovery kernel build
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
-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 $< $@