summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorDees Troy <dees_troy@teamw.in>2013-10-08 16:04:55 +0200
committerDees Troy <dees_troy@teamw.in>2013-10-16 21:46:29 +0200
commit8d66f8bda919435d36a1df1d8f3cea16a3c496fa (patch)
tree43fb8f1c2c90b4fe4dd66fd22146380d5b2e20ed /Android.mk
parentMerge "check for space after = too" into twrp2.7 (diff)
downloadandroid_bootable_recovery-8d66f8bda919435d36a1df1d8f3cea16a3c496fa.tar
android_bootable_recovery-8d66f8bda919435d36a1df1d8f3cea16a3c496fa.tar.gz
android_bootable_recovery-8d66f8bda919435d36a1df1d8f3cea16a3c496fa.tar.bz2
android_bootable_recovery-8d66f8bda919435d36a1df1d8f3cea16a3c496fa.tar.lz
android_bootable_recovery-8d66f8bda919435d36a1df1d8f3cea16a3c496fa.tar.xz
android_bootable_recovery-8d66f8bda919435d36a1df1d8f3cea16a3c496fa.tar.zst
android_bootable_recovery-8d66f8bda919435d36a1df1d8f3cea16a3c496fa.zip
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 8fc99b2ac..bec425a94 100644
--- a/Android.mk
+++ b/Android.mk
@@ -271,6 +271,10 @@ include $(CLEAR_VARS)
# Create busybox symlinks... gzip and gunzip are excluded because those need to link to pigz instead
BUSYBOX_LINKS := $(shell cat external/busybox/busybox-full.links)
exclude := tune2fs mke2fs mkdosfs gzip gunzip
+ifeq ($(TWHAVE_SELINUX), true)
+ exclude += ls
+ # toolbox will provide ls support with ls -Z capability for listing SELinux contexts
+endif
RECOVERY_BUSYBOX_SYMLINKS := $(addprefix $(TARGET_RECOVERY_ROOT_OUT)/sbin/,$(filter-out $(exclude),$(notdir $(BUSYBOX_LINKS))))
$(RECOVERY_BUSYBOX_SYMLINKS): BUSYBOX_BINARY := busybox
$(RECOVERY_BUSYBOX_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
@@ -338,7 +342,8 @@ include $(commands_recovery_local_path)/injecttwrp/Android.mk \
$(commands_recovery_local_path)/libcrecovery/Android.mk \
$(commands_recovery_local_path)/libblkid/Android.mk \
$(commands_recovery_local_path)/minuitwrp/Android.mk \
- $(commands_recovery_local_path)/openaes/Android.mk
+ $(commands_recovery_local_path)/openaes/Android.mk \
+ $(commands_recovery_local_path)/toolbox/Android.mk
ifeq ($(TW_INCLUDE_CRYPTO_SAMSUNG), true)
include $(commands_recovery_local_path)/crypto/libcrypt_samsung/Android.mk