diff options
-rw-r--r-- | Android.bp | 14 | ||||
-rw-r--r-- | Android.mk | 11 |
2 files changed, 14 insertions, 11 deletions
diff --git a/Android.bp b/Android.bp new file mode 100644 index 0000000..6d0e8e7 --- /dev/null +++ b/Android.bp @@ -0,0 +1,14 @@ +cc_binary { + name: "mmc_utils", + srcs: [ + "mmc.c", + "mmc_cmds.c", + + "3rdparty/hmac_sha/sha2.c", + "3rdparty/hmac_sha/hmac_sha2.c", + ], + cflags: ["-Werror"], + shared_libs: [ + "libcutils", + ], +} diff --git a/Android.mk b/Android.mk deleted file mode 100644 index d66019b..0000000 --- a/Android.mk +++ /dev/null @@ -1,11 +0,0 @@ -LOCAL_PATH:= $(call my-dir) - -include $(CLEAR_VARS) -LOCAL_MODULE_TAGS := debug -LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) -LOCAL_SRC_FILES:= mmc.c mmc_cmds.c -LOCAL_SRC_FILES += 3rdparty/hmac_sha/sha2.c 3rdparty/hmac_sha/hmac_sha2.c -LOCAL_CFLAGS += -Werror -LOCAL_MODULE := mmc_utils -LOCAL_SHARED_LIBRARIES := libcutils libc -include $(BUILD_EXECUTABLE) |