cm: add opt-out for exFAT

Allow global disable of exFAT through environment variable
WITH_EXFAT. Maintain exFAT as enabled by default.

Change-Id: I85e8b14c51441fe52bd185be83880419ee831d5c
This commit is contained in:
Scott Mertz 2015-11-09 11:35:41 -08:00 committed by Steve Kondik
parent 103c64a964
commit 2911a0e0bb

View File

@ -172,9 +172,6 @@ PRODUCT_PACKAGES += \
htop \
powertop \
lsof \
mount.exfat \
fsck.exfat \
mkfs.exfat \
mkfs.f2fs \
fsck.f2fs \
fibmap.f2fs \
@ -187,6 +184,15 @@ PRODUCT_PACKAGES += \
sqlite3 \
strace
WITH_EXFAT ?= true
ifeq ($(WITH_EXFAT),true)
TARGET_USES_EXFAT := true
PRODUCT_PACKAGES += \
mount.exfat \
fsck.exfat \
mkfs.exfat
endif
# Openssh
PRODUCT_PACKAGES += \
scp \