leo: change place where the postrecoveryboot.sh is copied, better in leo.mk
This commit is contained in:
parent
dd01708929
commit
81806ad79e
@ -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
4
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user