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 <gnu...@cyberdimension.org> --- 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) -- 2.27.0 _______________________________________________ Replicant mailing list Replicant@osuosl.org https://lists.osuosl.org/mailman/listinfo/replicant