diff options
author | Tom Marshall <tdm.code@gmail.com> | 2018-02-17 00:58:21 +0100 |
---|---|---|
committer | Alessandro Astone <ales.astone@gmail.com> | 2019-03-31 16:36:33 +0200 |
commit | 7d5cb84fcb885062fd497ea5a5f7ad9f4bd0bc1a (patch) | |
tree | a6a2f3954e252304d749438b14e2aee981137fae | |
parent | fd4a589ce3e6802cc9f2677ee90deef058b4f848 (diff) | |
download | android_external_toybox-7d5cb84fcb885062fd497ea5a5f7ad9f4bd0bc1a.tar.gz android_external_toybox-7d5cb84fcb885062fd497ea5a5f7ad9f4bd0bc1a.tar.bz2 android_external_toybox-7d5cb84fcb885062fd497ea5a5f7ad9f4bd0bc1a.zip |
toybox: Use toybox for dd, getprop and grep in recovery
* dd and getprop are currently provided by toolbox in the main system.
* grep is currently provided by BSD grep in the main system.
The toybox versions of these tools work well enough and we don't want
to give up the space needed to us the main system tools.
Change-Id: Ia7295ed991a8452c7b50d6d783a6a034f8e71365
-rw-r--r-- | Android.mk | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -399,6 +399,12 @@ ALL_TOOLS := \ yes \ zcat \ +ALL_RECOVERY_TOOLS := \ + $(ALL_TOOLS) \ + dd \ + getprop \ + grep + ############################################ # toybox for /system ############################################ @@ -442,5 +448,5 @@ LOCAL_STATIC_LIBRARIES := $(toybox_libraries) LOCAL_CXX_STL := libc++_static LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin LOCAL_FORCE_STATIC_EXECUTABLE := true -LOCAL_POST_INSTALL_CMD := $(hide) $(foreach t,$(ALL_TOOLS),ln -sf ${LOCAL_MODULE} $(LOCAL_MODULE_PATH)/$(t);) +LOCAL_POST_INSTALL_CMD := $(hide) $(foreach t,$(ALL_RECOVERY_TOOLS),ln -sf ${LOCAL_MODULE} $(LOCAL_MODULE_PATH)/$(t);) include $(BUILD_EXECUTABLE) |