Fix build when TARGET_USERIMAGES_USE_EXT4 is not defined
The cryptfs.h files is always included, but its path is only included when TARGET_USERIMAGES_USE_EXT4 is defined. Change-Id: Iec6aa4601a56a1feac456a21a53a08557dc1d00d
This commit is contained in:
parent
c7249660f9
commit
3cd669fd5d
1 changed files with 3 additions and 1 deletions
|
@ -54,6 +54,8 @@ RECOVERY_FSTAB_VERSION := 2
|
|||
LOCAL_CFLAGS += -DRECOVERY_API_VERSION=$(RECOVERY_API_VERSION)
|
||||
LOCAL_CFLAGS += -Wno-unused-parameter
|
||||
|
||||
LOCAL_C_INCLUDES += system/vold
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := \
|
||||
libext4_utils_static \
|
||||
libsparse_static \
|
||||
|
@ -75,7 +77,7 @@ LOCAL_STATIC_LIBRARIES := \
|
|||
|
||||
ifeq ($(TARGET_USERIMAGES_USE_EXT4), true)
|
||||
LOCAL_CFLAGS += -DUSE_EXT4
|
||||
LOCAL_C_INCLUDES += system/extras/ext4_utils system/vold
|
||||
LOCAL_C_INCLUDES += system/extras/ext4_utils
|
||||
LOCAL_STATIC_LIBRARIES += libext4_utils_static libz
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue