Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5ab4db4f authored by Koushik K. Dutta's avatar Koushik K. Dutta
Browse files

proper recovery_kernel support

parent f96baa28
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -510,8 +510,12 @@ ifeq (,$(filter true, $(TARGET_NO_KERNEL) $(TARGET_NO_RECOVERY) $(BUILD_TINY_AND

INSTALLED_RECOVERYIMAGE_TARGET := $(PRODUCT_OUT)/recovery.img

ifndef INSTALLED_RECOVERY_KERNEL_TARGET
ifndef TARGET_PREBUILT_RECOVERY_KERNEL
INSTALLED_RECOVERY_KERNEL_TARGET := $(INSTALLED_KERNEL_TARGET)
else
INSTALLED_RECOVERY_KERNEL_TARGET := $(PRODUCT_OUT)/recovery_kernel
$(INSTALLED_RECOVERY_KERNEL_TARGET): $(TARGET_PREBUILT_RECOVERY_KERNEL) | $(ACP)
	$(copy-file-to-new-target)
endif

recovery_initrc := $(call include-path-for, recovery)/etc/init.rc