diff options
-rw-r--r-- | e2fsck/Android.mk | 6 | ||||
-rw-r--r-- | lib/ext2fs/Android.mk | 14 | ||||
-rw-r--r-- | lib/uuid/Android.mk | 2 | ||||
-rw-r--r-- | misc/Android.mk | 18 |
4 files changed, 21 insertions, 19 deletions
diff --git a/e2fsck/Android.mk b/e2fsck/Android.mk index b4b2aef9..afae91fa 100644 --- a/e2fsck/Android.mk +++ b/e2fsck/Android.mk @@ -37,7 +37,7 @@ libext2_profile_cflags := -O2 -g -W -Wall \ -DHAVE_LINUX_FD_H \ -DHAVE_TYPE_SSIZE_T \ -DHAVE_SYS_TIME_H \ - -DHAVE_SYS_PARAM_H \ + -DHAVE_SYS_PARAM_H \ -DHAVE_SYSCONF \ -DDISABLE_BACKTRACE=1 @@ -106,7 +106,7 @@ e2fsck_shared_libraries := \ libext2_e2p e2fsck_system_shared_libraries := libc -e2fsck_c_includes := external/e2fsprogs/lib +e2fsck_c_includes := e2fsck_cflags := -O2 -g -W -Wall -fno-strict-aliasing \ -DHAVE_DIRENT_H \ @@ -136,7 +136,7 @@ e2fsck_cflags := -O2 -g -W -Wall -fno-strict-aliasing \ -DHAVE_INTPTR_T \ -DENABLE_HTREE=1 \ -DHAVE_SYS_TIME_H \ - -DHAVE_SYS_PARAM_H \ + -DHAVE_SYS_PARAM_H \ -DHAVE_SYSCONF \ -DDISABLE_BACKTRACE=1 diff --git a/lib/ext2fs/Android.mk b/lib/ext2fs/Android.mk index 467ca7e0..fd7bb85b 100644 --- a/lib/ext2fs/Android.mk +++ b/lib/ext2fs/Android.mk @@ -16,9 +16,9 @@ libext2fs_src_files := \ block.c \ bmap.c \ check_desc.c \ + closefs.c \ crc16.c \ csum.c \ - closefs.c \ dblist.c \ dblist_dir.c \ dirblock.c \ @@ -48,26 +48,29 @@ libext2fs_src_files := \ link.c \ llseek.c \ lookup.c \ - mmp.c \ mkdir.c \ mkjournal.c \ + mmp.c \ + namei.c \ native.c \ newdir.c \ openfs.c \ progress.c \ punch.c \ - rbtree.c \ + qcow2.c \ read_bb.c \ read_bb_file.c \ res_gdt.c \ rw_bitmaps.c \ swapfs.c \ + symlink.c \ tdb.c \ undo_io.c \ unix_io.c \ unlink.c \ valid_blk.c \ - version.c + version.c \ + rbtree.c # get rid of this?! libext2fs_src_files += test_io.c @@ -124,6 +127,7 @@ LOCAL_SRC_FILES := $(libext2fs_src_files) LOCAL_SYSTEM_SHARED_LIBRARIES := $(libext2fs_system_shared_libraries) LOCAL_SHARED_LIBRARIES := $(libext2fs_shared_libraries) LOCAL_C_INCLUDES := $(libext2fs_c_includes) +LOCAL_EXPORT_C_INCLUDE_DIRS := $(libext2fs_c_includes) LOCAL_CFLAGS := $(libext2fs_cflags) $(libext2fs_cflags_linux) LOCAL_MODULE := libext2fs LOCAL_MODULE_TAGS := optional @@ -135,6 +139,7 @@ include $(CLEAR_VARS) LOCAL_SRC_FILES := $(libext2fs_src_files) LOCAL_STATIC_LIBRARIES := $(libext2fs_static_libraries) $(libext2fs_system_static_libraries) LOCAL_C_INCLUDES := $(libext2fs_c_includes) +LOCAL_EXPORT_C_INCLUDE_DIRS := $(libext2fs_c_includes) LOCAL_CFLAGS := $(libext2fs_cflags) $(libext2fs_cflags_linux) LOCAL_MODULE := libext2fs LOCAL_MODULE_TAGS := optional @@ -146,6 +151,7 @@ include $(CLEAR_VARS) LOCAL_SRC_FILES := $(libext2fs_src_files) LOCAL_SHARED_LIBRARIES := $(addsuffix _host, $(libext2fs_shared_libraries)) LOCAL_C_INCLUDES := $(libext2fs_c_includes) +LOCAL_EXPORT_C_INCLUDE_DIRS := $(libext2fs_c_includes) ifeq ($(HOST_OS),linux) LOCAL_CFLAGS := $(libext2fs_cflags) $(libext2fs_cflags_linux) else diff --git a/lib/uuid/Android.mk b/lib/uuid/Android.mk index a43a3619..bebfe2f7 100644 --- a/lib/uuid/Android.mk +++ b/lib/uuid/Android.mk @@ -49,7 +49,7 @@ include $(CLEAR_VARS) LOCAL_SRC_FILES := $(libext2_uuid_src_files) LOCAL_C_INCLUDES := $(libext2_uuid_c_includes) LOCAL_CFLAGS := $(libext2_uuid_cflags) -LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH) +LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH) $(LOCAL_PATH)/.. LOCAL_SYSTEM_SHARED_LIBRARIES := $(libext2_uuid_system_shared_libraries) LOCAL_MODULE := libext2_uuid LOCAL_MODULE_TAGS := optional diff --git a/misc/Android.mk b/misc/Android.mk index 645fc9cc..b5af5c23 100644 --- a/misc/Android.mk +++ b/misc/Android.mk @@ -8,7 +8,6 @@ mke2fs_src_files := \ default_profile.c mke2fs_c_includes := \ - external/e2fsprogs/lib \ external/e2fsprogs/e2fsck mke2fs_cflags := -O2 -g -W -Wall \ @@ -32,7 +31,7 @@ mke2fs_cflags := -O2 -g -W -Wall \ -DHAVE_TYPE_SSIZE_T \ -DHAVE_GETOPT_H \ -DHAVE_SYS_TIME_H \ - -DHAVE_SYS_PARAM_H \ + -DHAVE_SYS_PARAM_H \ -DHAVE_SYSCONF mke2fs_cflags_linux := \ @@ -89,7 +88,6 @@ tune2fs_src_files := \ util.c tune2fs_c_includes := \ - external/e2fsprogs/lib \ external/e2fsprogs/e2fsck tune2fs_cflags := -O2 -g -W -Wall \ @@ -117,7 +115,7 @@ tune2fs_cflags := -O2 -g -W -Wall \ -DHAVE_TYPE_SSIZE_T \ -DHAVE_GETOPT_H \ -DHAVE_SYS_TIME_H \ - -DHAVE_SYS_PARAM_H \ + -DHAVE_SYS_PARAM_H \ -DHAVE_SYSCONF tune2fs_cflags += -DNO_CHECK_BB @@ -198,8 +196,7 @@ include $(CLEAR_VARS) badblocks_src_files := \ badblocks.c -badblocks_c_includes := \ - external/e2fsprogs/lib +badblocks_c_includes := badblocks_cflags := -O2 -g -W -Wall \ -DHAVE_UNISTD_H \ @@ -226,7 +223,7 @@ badblocks_cflags := -O2 -g -W -Wall \ -DHAVE_TYPE_SSIZE_T \ -DHAVE_GETOPT_H \ -DHAVE_SYS_TIME_H \ - -DHAVE_SYS_PARAM_H \ + -DHAVE_SYS_PARAM_H \ -DHAVE_SYSCONF badblocks_shared_libraries := \ @@ -298,7 +295,7 @@ chattr_cflags := -O2 -g -W -Wall \ -DHAVE_TYPE_SSIZE_T \ -DHAVE_GETOPT_H \ -DHAVE_SYS_TIME_H \ - -DHAVE_SYS_PARAM_H \ + -DHAVE_SYS_PARAM_H \ -DHAVE_SYSCONF chattr_shared_libraries := \ @@ -367,7 +364,7 @@ lsattr_cflags := -O2 -g -W -Wall \ -DHAVE_TYPE_SSIZE_T \ -DHAVE_GETOPT_H \ -DHAVE_SYS_TIME_H \ - -DHAVE_SYS_PARAM_H \ + -DHAVE_SYS_PARAM_H \ -DHAVE_SYSCONF lsattr_shared_libraries := \ @@ -408,8 +405,7 @@ include $(CLEAR_VARS) blkid_src_files := \ blkid.c -blkid_c_includes := \ - external/e2fsprogs/lib +blkid_c_includes := blkid_cflags := -O2 -g -W -Wall \ -DHAVE_UNISTD_H \ |