From 2673cec07a4740f86438b50cfe1b70b258a9a8c8 Mon Sep 17 00:00:00 2001 From: Dees_Troy Date: Tue, 2 Apr 2013 20:22:16 +0000 Subject: Move all AOSP code out of recovery binary Improves license compatibility between GPL and Apache Change-Id: I2b165aa575bb6213af6b07936f99610c113443f0 --- mtdutils/Android.mk | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'mtdutils') diff --git a/mtdutils/Android.mk b/mtdutils/Android.mk index 438b3935a..8e1bdca7d 100644 --- a/mtdutils/Android.mk +++ b/mtdutils/Android.mk @@ -17,6 +17,21 @@ LOCAL_FORCE_STATIC_EXECUTABLE := true include $(BUILD_STATIC_LIBRARY) +include $(CLEAR_VARS) + +LOCAL_SRC_FILES := \ + mtdutils.c \ + mounts.c + +ifeq ($(TARGET_BOARD_PLATFORM),rk30xx) +LOCAL_SRC_FILES += rk30hack.c +endif + +LOCAL_MODULE := libmtdutils +LOCAL_STATIC_LIBRARIES := libcutils libc + +include $(BUILD_SHARED_LIBRARY) + ifeq ($(BOARD_USES_BML_OVER_MTD),true) include $(CLEAR_VARS) LOCAL_SRC_FILES := bml_over_mtd.c -- cgit v1.2.3