Browse Source

Standalone recovery kernel build

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
replicant-6.0
Paul Kocialkowski 6 years ago
committed by Wolfgang Wiedmeyer
parent
commit
37c8664812
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      shbootimg.mk

+ 3
- 2
shbootimg.mk View File

@@ -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 $< $@

Loading…
Cancel
Save