summaryrefslogtreecommitdiff
path: root/ext4_utils/Android.mk
diff options
context:
space:
mode:
authorDoug Zongker <dougz@google.com>2014-06-16 09:07:44 -0700
committerDoug Zongker <dougz@google.com>2014-06-16 09:50:05 -0700
commitaad1accb587aa708012b329c784332dcc9991de6 (patch)
tree32cb68248eed337e260446a0c27896137581c689 /ext4_utils/Android.mk
parent24956e382abd9890283eb55496db9e3b8c12a7e2 (diff)
downloadextras-aad1accb587aa708012b329c784332dcc9991de6.tar.gz
optionally use a canned fs_config when building ext4 fs
In order to accurately re-create old images after changes to android_filesystem_config.h, we need make_ext4fs and mkuserimg.sh to be able to take a file containing the desired uid/gid/mode/capabilities for each path in the filesystem, and use that instead of the fs_config function that is built in to the binary. The target_files already contains this file, which is created at the time of the original build by running the binary fs_config for each path in the build. Change-Id: I501dc9544de37a592c1e831b6bf785c086cb6912
Diffstat (limited to 'ext4_utils/Android.mk')
-rw-r--r--ext4_utils/Android.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext4_utils/Android.mk b/ext4_utils/Android.mk
index 8cb04eb6..c5684f92 100644
--- a/ext4_utils/Android.mk
+++ b/ext4_utils/Android.mk
@@ -33,7 +33,7 @@ include $(BUILD_HOST_STATIC_LIBRARY)
include $(CLEAR_VARS)
-LOCAL_SRC_FILES := make_ext4fs_main.c
+LOCAL_SRC_FILES := make_ext4fs_main.c canned_fs_config.c
LOCAL_MODULE := make_ext4fs
LOCAL_STATIC_LIBRARIES += \
libext4_utils_host \
@@ -74,7 +74,7 @@ include $(BUILD_STATIC_LIBRARY)
include $(CLEAR_VARS)
-LOCAL_SRC_FILES := make_ext4fs_main.c
+LOCAL_SRC_FILES := make_ext4fs_main.c canned_fs_config.c
LOCAL_MODULE := make_ext4fs
LOCAL_SHARED_LIBRARIES := \
libext4_utils \