Dees_Troy | 51a0e82 | 2012-09-05 15:24:24 -0400 | [diff] [blame^] | 1 | ifneq ($(TARGET_SIMULATOR),true) |
| 2 | ifeq ($(TARGET_ARCH),arm) |
| 3 | |
| 4 | LOCAL_PATH := $(call my-dir) |
| 5 | include $(CLEAR_VARS) |
| 6 | |
| 7 | LOCAL_SRC_FILES := \ |
| 8 | mmcutils.c |
| 9 | |
| 10 | LOCAL_MODULE := libmmcutils |
| 11 | LOCAL_MODULE_TAGS := eng |
| 12 | |
| 13 | include $(BUILD_STATIC_LIBRARY) |
| 14 | |
| 15 | #Added for TWRP building dynamic: |
| 16 | include $(CLEAR_VARS) |
| 17 | ifeq ($(BOARD_HAS_LARGE_FILESYSTEM),true) |
| 18 | LOCAL_CFLAGS += -DBOARD_HAS_LARGE_FILESYSTEM |
| 19 | endif |
| 20 | |
| 21 | LOCAL_SRC_FILES := \ |
| 22 | mmcutils.c |
| 23 | |
| 24 | LOCAL_MODULE := libmmcutils |
| 25 | LOCAL_MODULE_TAGS := eng |
| 26 | |
| 27 | include $(BUILD_SHARED_LIBRARY) |
| 28 | |
| 29 | endif # TARGET_ARCH == arm |
| 30 | endif # !TARGET_SIMULATOR |