From de952de91dfd883cee3283e19197b00aaf18092c Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Fri, 24 Jul 2020 21:26:27 +0200 Subject: Android.mk: add nv_data-md5 The nv_data-md5 tool can be used to create the nv_data.md5 or .nv_data.md5 files. This tool is already integrated in the Autotools build system, so it's a good idea to also add it to the Android.mk to enable to build it in Android as well if needed. As libsamsung-ipc is not packaged yet in most common GNU/Linux distributions, it might be useful to add it in the resulting Android images, but it's up to the Android distributions using libsamsung-ipc to decide that, for instance by adding nv_data-md5 to PRODUCT_PACKAGES in the repositories of various devices. Signed-off-by: Denis 'GNUtoo' Carikli --- Android.mk | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Android.mk b/Android.mk index a433f58..b1aabbd 100644 --- a/Android.mk +++ b/Android.mk @@ -179,3 +179,19 @@ LOCAL_C_INCLUDES := $(LOCAL_PATH)/include LOCAL_SHARED_LIBRARIES := libsamsung-ipc include $(BUILD_EXECUTABLE) + +#################### +# nv_data-md5 tool # +#################### +include $(CLEAR_VARS) + +LOCAL_MODULE := nv_data-md5 +LOCAL_MODULE_TAGS := optional + +LOCAL_SRC_FILES := tools/nv_data-md5.c + +LOCAL_C_INCLUDES := $(LOCAL_PATH)/include + +LOCAL_SHARED_LIBRARIES := libsamsung-ipc + +include $(BUILD_EXECUTABLE) -- cgit v1.2.3