Pull in most TWRP sources Stub out partition management code Make it compile -- probably will not boot Kind of a mess but have to start somewhere
19 lines
353 B
Makefile
19 lines
353 B
Makefile
ifneq ($(TARGET_SIMULATOR),true)
|
|
ifeq ($(TARGET_ARCH),arm)
|
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES := \
|
|
mtdutils.c \
|
|
mounts.c
|
|
|
|
LOCAL_MODULE := libmtdutils
|
|
LOCAL_STATIC_LIBRARIES := libcutils libc
|
|
LOCAL_FORCE_STATIC_EXECUTABLE := true
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
endif # TARGET_ARCH == arm
|
|
endif # !TARGET_SIMULATOR
|
|
|