diff options
author | Ethan Yonker <dees_troy@teamw.in> | 2014-04-14 16:10:05 +0200 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit> | 2014-04-15 15:27:19 +0200 |
commit | 0c9d049b6ee2292b29e5fa8c5c500672a38e61a4 (patch) | |
tree | 0ce6330b11c63ad5a9f83b7f61b06db7c72a6027 /gui | |
parent | Force zip verification in OEM builds (diff) | |
download | android_bootable_recovery-0c9d049b6ee2292b29e5fa8c5c500672a38e61a4.tar android_bootable_recovery-0c9d049b6ee2292b29e5fa8c5c500672a38e61a4.tar.gz android_bootable_recovery-0c9d049b6ee2292b29e5fa8c5c500672a38e61a4.tar.bz2 android_bootable_recovery-0c9d049b6ee2292b29e5fa8c5c500672a38e61a4.tar.lz android_bootable_recovery-0c9d049b6ee2292b29e5fa8c5c500672a38e61a4.tar.xz android_bootable_recovery-0c9d049b6ee2292b29e5fa8c5c500672a38e61a4.tar.zst android_bootable_recovery-0c9d049b6ee2292b29e5fa8c5c500672a38e61a4.zip |
Diffstat (limited to 'gui')
-rw-r--r-- | gui/Android.mk | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/gui/Android.mk b/gui/Android.mk index 6134e3b57..1ddab5e33 100644 --- a/gui/Android.mk +++ b/gui/Android.mk @@ -101,26 +101,21 @@ LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/res TWRP_RES_LOC := $(commands_recovery_local_path)/gui/devices TWRP_RES_GEN := $(intermediates)/twrp - ifneq ($(TW_USE_TOOLBOX), true) -$(TWRP_RES_GEN): - mkdir -p $(TARGET_RECOVERY_ROOT_OUT)/res/ - cp -fr $(TWRP_RES_LOC)/common/res/* $(TARGET_RECOVERY_ROOT_OUT)/res/ - cp -fr $(TWRP_RES_LOC)/$(DEVICE_RESOLUTION)/res/* $(TARGET_RECOVERY_ROOT_OUT)/res/ - mkdir -p $(TARGET_RECOVERY_ROOT_OUT)/sbin/ - ln -sf /sbin/busybox $(TARGET_RECOVERY_ROOT_OUT)/sbin/sh - ln -sf /sbin/pigz $(TARGET_RECOVERY_ROOT_OUT)/sbin/gzip - ln -sf /sbin/unpigz $(TARGET_RECOVERY_ROOT_OUT)/sbin/gunzip + TWRP_SH_TARGET := /sbin/busybox else + TWRP_SH_TARGET := /sbin/mksh +endif + $(TWRP_RES_GEN): mkdir -p $(TARGET_RECOVERY_ROOT_OUT)/res/ cp -fr $(TWRP_RES_LOC)/common/res/* $(TARGET_RECOVERY_ROOT_OUT)/res/ cp -fr $(TWRP_RES_LOC)/$(DEVICE_RESOLUTION)/res/* $(TARGET_RECOVERY_ROOT_OUT)/res/ mkdir -p $(TARGET_RECOVERY_ROOT_OUT)/sbin/ - ln -sf /sbin/mksh $(TARGET_RECOVERY_ROOT_OUT)/sbin/sh + ln -sf $(TWRP_SH_TARGET) $(TARGET_RECOVERY_ROOT_OUT)/sbin/sh ln -sf /sbin/pigz $(TARGET_RECOVERY_ROOT_OUT)/sbin/gzip ln -sf /sbin/unpigz $(TARGET_RECOVERY_ROOT_OUT)/sbin/gunzip -endif + LOCAL_GENERATED_SOURCES := $(TWRP_RES_GEN) LOCAL_SRC_FILES := twrp $(TWRP_RES_GEN) |