summaryrefslogtreecommitdiffstats
path: root/toolbox/Android.mk
diff options
context:
space:
mode:
authorScott Anderson <saa@google.com>2012-01-11 18:13:26 -0800
committerScott Anderson <saa@google.com>2012-01-11 18:13:26 -0800
commitd0455c952d61d36e662f4a95d5e03689ecedca8f (patch)
tree666c4f896c31041bb1c8107fde8709eb70b8eb3a /toolbox/Android.mk
parenta33c6ee92b25f6f89ca2044832344d0a6b2ccd11 (diff)
downloadsystem_core-d0455c952d61d36e662f4a95d5e03689ecedca8f.zip
system_core-d0455c952d61d36e662f4a95d5e03689ecedca8f.tar.gz
system_core-d0455c952d61d36e662f4a95d5e03689ecedca8f.tar.bz2
Add md5 command to toolbox.
This command outputs the MD5 for specified files. The output is in the same form as the md5sum command on Linux. Change-Id: Ie0e6faf678469ac886bba8b46d98c0e54976a1ed Signed-off-by: Scott Anderson <saa@google.com>
Diffstat (limited to 'toolbox/Android.mk')
-rw-r--r--toolbox/Android.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/toolbox/Android.mk b/toolbox/Android.mk
index d7a675a..7e20448 100644
--- a/toolbox/Android.mk
+++ b/toolbox/Android.mk
@@ -55,7 +55,8 @@ TOOLS := \
nandread \
ionice \
touch \
- lsof
+ lsof \
+ md5
ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT)))
TOOLS += r
@@ -68,6 +69,8 @@ LOCAL_SRC_FILES:= \
LOCAL_SHARED_LIBRARIES := libcutils libc libusbhost
+LOCAL_C_INCLUDES := bionic/libc/bionic
+
LOCAL_MODULE:= toolbox
# Including this will define $(intermediates).