The Android Open Source Project | c24a8e6 | 2009-03-03 19:28:42 -0800 | [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 | mtdutils.c \ |
| 9 | mounts.c |
| 10 | |
| 11 | LOCAL_MODULE := libmtdutils |
| 12 | |
| 13 | include $(BUILD_STATIC_LIBRARY) |
| 14 | |
| 15 | include $(CLEAR_VARS) |
| 16 | LOCAL_SRC_FILES := flash_image.c |
| 17 | LOCAL_MODULE := flash_image |
| 18 | LOCAL_STATIC_LIBRARIES := libmtdutils |
| 19 | LOCAL_SHARED_LIBRARIES := libcutils libc |
| 20 | include $(BUILD_EXECUTABLE) |
| 21 | |
| 22 | endif # TARGET_ARCH == arm |
| 23 | endif # !TARGET_SIMULATOR |