2008-10-21 14:00:00 +00:00
|
|
|
ifneq ($(TARGET_SIMULATOR),true)
|
2008-12-18 02:03:49 +00:00
|
|
|
ifeq ($(TARGET_ARCH),arm)
|
2008-10-21 14:00:00 +00:00
|
|
|
|
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := \
|
|
|
|
mtdutils.c \
|
|
|
|
mounts.c
|
|
|
|
|
|
|
|
LOCAL_MODULE := libmtdutils
|
|
|
|
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES := flash_image.c
|
|
|
|
LOCAL_MODULE := flash_image
|
|
|
|
LOCAL_STATIC_LIBRARIES := libmtdutils
|
|
|
|
LOCAL_SHARED_LIBRARIES := libcutils libc
|
|
|
|
include $(BUILD_EXECUTABLE)
|
|
|
|
|
2008-12-18 02:03:49 +00:00
|
|
|
endif # TARGET_ARCH == arm
|
2008-10-21 14:00:00 +00:00
|
|
|
endif # !TARGET_SIMULATOR
|