-Remove dosfstools for arm64 until we can make it compile -Fix TW_USE_TOOLBOX flag to work again -Fix symlinking and handling of sh when using mksh -Fix legacy properties to find futex_wake function -Fix libcrecovery to not use bsd_signal anymore -Fix rules for building with regards to libcrecovery -Update toolbox_recovery rules to compile tools in lollipop -Fix a few compile errors specific to arm64 Testers report that TWRP does not boot on Nexus 9 and we fail to get a shell for adb shell. At least it compiles without errors. Change-Id: I286be8628defb60cc527b8a548c0bdfcb0ebb574
35 lines
865 B
Makefile
35 lines
865 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
BOARD_RECOVERY_DEFINES := BOARD_BML_BOOT BOARD_BML_RECOVERY
|
|
LOCAL_STATIC_LIBRARY := libcrecovery
|
|
|
|
$(foreach board_define,$(BOARD_RECOVERY_DEFINES), \
|
|
$(if $($(board_define)), \
|
|
$(eval LOCAL_CFLAGS += -D$(board_define)=\"$($(board_define))\") \
|
|
) \
|
|
)
|
|
|
|
LOCAL_SRC_FILES := bmlutils.c
|
|
LOCAL_MODULE := libbmlutils
|
|
LOCAL_MODULE_TAGS := eng
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
#Added for building TWRP dynamic:
|
|
include $(CLEAR_VARS)
|
|
|
|
BOARD_RECOVERY_DEFINES := BOARD_BML_BOOT BOARD_BML_RECOVERY
|
|
LOCAL_SHARED_LIBRARIES := libcrecovery
|
|
|
|
$(foreach board_define,$(BOARD_RECOVERY_DEFINES), \
|
|
$(if $($(board_define)), \
|
|
$(eval LOCAL_CFLAGS += -D$(board_define)=\"$($(board_define))\") \
|
|
) \
|
|
)
|
|
|
|
LOCAL_SRC_FILES := bmlutils.c
|
|
LOCAL_MODULE := libbmlutils
|
|
LOCAL_MODULE_TAGS := eng
|
|
include $(BUILD_SHARED_LIBRARY)
|