This allows flame to boot TWRP. Still will need to work on super partition for vendor and system access. The plan will be to cherry-pick any updates to android-9.0 through gerrit.twrp.me to this branch as a WIP.
22 lines
633 B
Makefile
22 lines
633 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := pigz
|
|
LOCAL_MODULE_TAGS := optional
|
|
LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES
|
|
LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin
|
|
LOCAL_CFLAGS :=
|
|
LOCAL_SRC_FILES = pigz.c yarn.c
|
|
LOCAL_C_INCLUDES += $(LOCAL_PATH) \
|
|
external/zlib
|
|
LOCAL_SHARED_LIBRARIES += libz libc
|
|
|
|
LOCAL_POST_INSTALL_CMD := \
|
|
$(hide) mkdir -p $(TARGET_RECOVERY_ROOT_OUT)/sbin && \
|
|
ln -sf pigz $(TARGET_RECOVERY_ROOT_OUT)/sbin/gunzip && \
|
|
ln -sf pigz $(TARGET_RECOVERY_ROOT_OUT)/sbin/gzip && \
|
|
ln -sf pigz $(TARGET_RECOVERY_ROOT_OUT)/sbin/unpigz
|
|
|
|
include $(BUILD_EXECUTABLE)
|