Merge "Let external/mksh install directly into /system/bin/sh."

This commit is contained in:
Elliott Hughes 2013-11-07 16:08:12 +00:00 committed by Gerrit Code Review
commit 30296f2801

View file

@ -1,14 +0,0 @@
# Create the /system/bin/sh symlink to $(TARGET_SHELL).
# Currently, Android's shell is external/mksh.
OUTSYSTEMBINSH := $(TARGET_OUT)/bin/sh
LOCAL_MODULE := systembinsh
$(OUTSYSTEMBINSH): | $(TARGET_SHELL)
$(OUTSYSTEMBINSH): LOCAL_MODULE := $(LOCAL_MODULE)
$(OUTSYSTEMBINSH):
@echo "Symlink: $@ -> $(TARGET_SHELL)"
@rm -rf $@
$(hide) ln -sf $(TARGET_SHELL) $@
ALL_DEFAULT_INSTALLED_MODULES += $(OUTSYSTEMBINSH)
ALL_MODULES.$(LOCAL_MODULE).INSTALLED += $(OUTSYSTEMBINSH)