diff options
author | cicada <pking@edencomputing.com> | 2011-03-02 10:48:16 -0700 |
---|---|---|
committer | Ricardo Cerqueira <cyanogenmod@cerqueira.org> | 2012-07-10 20:10:07 +0100 |
commit | 4e73e325831464454a9f37f555c5ac337081c94e (patch) | |
tree | 12af0e6502fa8c5022abc9f5efb4aedf44296420 /Android.mk | |
parent | 425524dba1552ab3d2ad39e205e65d0a2af997f2 (diff) | |
download | system_vold-4e73e325831464454a9f37f555c5ac337081c94e.tar.gz system_vold-4e73e325831464454a9f37f555c5ac337081c94e.tar.bz2 system_vold-4e73e325831464454a9f37f555c5ac337081c94e.zip |
vold: allow override of MAX_PARTITIONS for devices with > 4 partitions
Change-Id: Iec4de6e7e5ad52a6dfa45952bb19104f500d9c58a
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -32,6 +32,10 @@ common_shared_libraries := \ include $(CLEAR_VARS) +ifneq ($(BOARD_VOLD_MAX_PARTITIONS),) +LOCAL_CFLAGS += -DVOLD_MAX_PARTITIONS=$(BOARD_VOLD_MAX_PARTITIONS) +endif + LOCAL_MODULE := libvold LOCAL_SRC_FILES := $(common_src_files) @@ -58,6 +62,11 @@ LOCAL_C_INCLUDES := $(common_c_includes) LOCAL_CFLAGS := -Werror=format +ifneq ($(BOARD_VOLD_MAX_PARTITIONS),) +LOCAL_CFLAGS += -DVOLD_MAX_PARTITIONS=$(BOARD_VOLD_MAX_PARTITIONS) +endif + + LOCAL_SHARED_LIBRARIES := $(common_shared_libraries) LOCAL_STATIC_LIBRARIES := libfs_mgr |