blob: 0c238e1d2adca1d569a20ed777e9d671b8e65cd5 [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001ifneq ($(TARGET_SIMULATOR),true)
Dees_Troy51a0e822012-09-05 15:24:24 -04002
The Android Open Source Projectc24a8e62009-03-03 19:28:42 -08003LOCAL_PATH := $(call my-dir)
4include $(CLEAR_VARS)
5
6LOCAL_SRC_FILES := \
7 mtdutils.c \
Dees_Troy51a0e822012-09-05 15:24:24 -04008 mounts.c
The Android Open Source Projectc24a8e62009-03-03 19:28:42 -08009
Sergey 'Jin' Bostandzhyan80a90ed2013-01-04 02:29:03 +010010ifeq ($(TARGET_BOARD_PLATFORM),rk30xx)
11LOCAL_SRC_FILES += rk30hack.c
12endif
13
The Android Open Source Projectc24a8e62009-03-03 19:28:42 -080014LOCAL_MODULE := libmtdutils
Dees_Troy51a0e822012-09-05 15:24:24 -040015LOCAL_STATIC_LIBRARIES := libcutils libc
16LOCAL_FORCE_STATIC_EXECUTABLE := true
Sergey 'Jin' Bostandzhyan80a90ed2013-01-04 02:29:03 +010017
The Android Open Source Projectc24a8e62009-03-03 19:28:42 -080018include $(BUILD_STATIC_LIBRARY)
19
Dees_Troy51a0e822012-09-05 15:24:24 -040020endif # !TARGET_SIMULATOR
21