leo: change place where the postrecoveryboot.sh is copied, better in leo.mk

This commit is contained in:
Arif Ali 2012-03-04 01:04:22 +00:00
parent dd01708929
commit 81806ad79e
2 changed files with 4 additions and 7 deletions

View File

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

4
leo.mk
View File

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