diff options
author | Ethan Yonker <dees_troy@teamw.in> | 2016-11-08 05:00:06 +0100 |
---|---|---|
committer | Dees Troy <dees_troy@teamw.in> | 2016-11-30 16:47:20 +0100 |
commit | 0a8a7cebf154f7062174c4fac4a9c836038fbfbc (patch) | |
tree | 2d0cb1e3fa0ec58fa70d87c69a6133f80ba69f59 /gui | |
parent | Check if mount point is dir during startup (diff) | |
download | android_bootable_recovery-0a8a7cebf154f7062174c4fac4a9c836038fbfbc.tar android_bootable_recovery-0a8a7cebf154f7062174c4fac4a9c836038fbfbc.tar.gz android_bootable_recovery-0a8a7cebf154f7062174c4fac4a9c836038fbfbc.tar.bz2 android_bootable_recovery-0a8a7cebf154f7062174c4fac4a9c836038fbfbc.tar.lz android_bootable_recovery-0a8a7cebf154f7062174c4fac4a9c836038fbfbc.tar.xz android_bootable_recovery-0a8a7cebf154f7062174c4fac4a9c836038fbfbc.tar.zst android_bootable_recovery-0a8a7cebf154f7062174c4fac4a9c836038fbfbc.zip |
Diffstat (limited to 'gui')
-rw-r--r-- | gui/Android.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/Android.mk b/gui/Android.mk index 3f97ca7eb..b514e5be1 100644 --- a/gui/Android.mk +++ b/gui/Android.mk @@ -173,8 +173,10 @@ $(TWRP_RES_GEN): cp -fr $(TWRP_THEME_LOC)/* $(TARGET_RECOVERY_ROOT_OUT)$(TWRES_PATH) mkdir -p $(TARGET_RECOVERY_ROOT_OUT)/sbin/ ifneq ($(TW_USE_TOOLBOX), true) +ifeq ($(shell test $(PLATFORM_SDK_VERSION) -lt 24; echo $$?),0) ln -sf $(TWRP_SH_TARGET) $(TARGET_RECOVERY_ROOT_OUT)/sbin/sh endif +endif ln -sf /sbin/pigz $(TARGET_RECOVERY_ROOT_OUT)/sbin/gzip ln -sf /sbin/unpigz $(TARGET_RECOVERY_ROOT_OUT)/sbin/gunzip |