From 81806ad79eb00a71d8c71393b93c83a0ac5639f3 Mon Sep 17 00:00:00 2001 From: Arif Ali Date: Sun, 4 Mar 2012 01:04:22 +0000 Subject: [PATCH] leo: change place where the postrecoveryboot.sh is copied, better in leo.mk --- AndroidBoard.mk | 7 ------- leo.mk | 4 ++++ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/AndroidBoard.mk b/AndroidBoard.mk index 5c100aa..fb7cce5 100755 --- a/AndroidBoard.mk +++ b/AndroidBoard.mk @@ -25,12 +25,5 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) -ALL_PREBUILT += $(INSTALLED_KERNEL_TARGET) - -file := $(TARGET_RECOVERY_ROOT_OUT)/sbin/postrecoveryboot.sh -ALL_PREBUILT += $(file) -$(file) : $(LOCAL_PATH)/postrecoveryboot.sh | $(ACP) - $(transform-prebuilt-to-target) - # include the non-open-source counterpart to this file -include vendor/htc/leo/AndroidBoardVendor.mk diff --git a/leo.mk b/leo.mk index 5a3b540..b9adeef 100755 --- a/leo.mk +++ b/leo.mk @@ -27,6 +27,10 @@ PRODUCT_COPY_FILES += \ device/htc/leo/prebuilt/ueventd.htcleo.rc:root/ueventd.htcleo.rc \ device/htc/leo/prebuilt/logo.rle:root/logo.rle \ +# Copy the postrecoveryboot.sh to the relevant directory +PRODUCT_COPY_FILES += \ + device/htc/leo/postrecoveryboot.sh:recovery/root/sbin/postrecoveryboot.sh + # we have enough storage space to hold precise GC data PRODUCT_TAGS += dalvik.gc.type-precise