Skip to contentSkip to conversation

mmc-utils: adding support for Android compilation

PATCH In review Yaniv Gardi 3 participants 3 messages Apr 24, 2013 – May 26, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mmc-utils: adding support for Android compilation

---
 Android.mk |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
 create mode 100644 Android.mk
Android.mk new file +11 -0
new file mode 100644
index 0000000..7c8cce4
@@ -0,0 +1,11 @@
+LOCAL_PATH:= $(call my-dir)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE_TAGS := optional
+LOCAL_SRC_FILES:= mmc.c mmc_cmds.c
+LOCAL_MODULE := mmc_utils
+LOCAL_SHARED_LIBRARIES := libcutils libc
+LOCAL_C_INCLUDES+= $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include
+LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
+LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/mmc-utils
+include $(BUILD_EXECUTABLE)
Signature · 1 line
1.7.6
#1 lore raw

Hi Chris,

Can you please merge this patch to mmc-utils?

Thanks,
Maya

Quoted 32 lines
---
 Android.mk |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
 create mode 100644 Android.mk
Android.mk new file +9 -0
new file mode 100644
index 0000000..7c8cce4
@@ -0,0 +1,11 @@
+LOCAL_PATH:= $(call my-dir)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE_TAGS := optional
+LOCAL_SRC_FILES:= mmc.c mmc_cmds.c
+LOCAL_MODULE := mmc_utils
+LOCAL_SHARED_LIBRARIES := libcutils libc
+LOCAL_C_INCLUDES+= $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include
+LOCAL_ADDITIONAL_DEPENDENCIES +=

$(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr

Android.mk new file +2 -1
+LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/mmc-utils
+include $(BUILD_EXECUTABLE)
--

1.7.6

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 3 lines
Maya Erez
QUALCOMM ISRAEL, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation
#2 lore raw
In reply to Yaniv Gardi

Hi,

Quoted 13 lines · Yaniv Gardi
---
 Android.mk |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
 create mode 100644 Android.mk
Android.mk new file +1 -0
new file mode 100644
index 0000000..7c8cce4
@@ -0,0 +1,11 @@
+LOCAL_PATH:= $(call my-dir)

Android.mk line 11

Quoted 10 lines
Android.mk new file +10 -0
+
+include $(CLEAR_VARS)
+LOCAL_MODULE_TAGS := optional
+LOCAL_SRC_FILES:= mmc.c mmc_cmds.c
+LOCAL_MODULE := mmc_utils
+LOCAL_SHARED_LIBRARIES := libcutils libc
+LOCAL_C_INCLUDES+= $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include
+LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
+LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/mmc-utils
+include $(BUILD_EXECUTABLE)

Thanks, pushed to mmc-utils.

- Chris.

Signature · 2 lines
Chris Ball   <[email protected]>   <http://printf.net/>
One Laptop Per Child