diff options
-rw-r--r-- | Android.mk | 3 | ||||
-rw-r--r-- | fstools/Android.mk | 6 | ||||
-rw-r--r-- | fstools/fstools.h | 3 |
3 files changed, 9 insertions, 3 deletions
@@ -149,8 +149,7 @@ ifeq ($(ONE_SHOT_MAKEFILE),) LOCAL_ADDITIONAL_DEPENDENCIES += \ fstools \ recovery_mkshrc \ - minivold \ - recovery_sgdisk + minivold endif diff --git a/fstools/Android.mk b/fstools/Android.mk index 787a382..83dcecb 100644 --- a/fstools/Android.mk +++ b/fstools/Android.mk @@ -36,6 +36,9 @@ LOCAL_WHOLE_STATIC_LIBRARIES += \ libf2fs_fsck_static \ libf2fs_mkfs_static +LOCAL_WHOLE_STATIC_LIBRARIES += \ + libsgdisk_static + LOCAL_STATIC_LIBRARIES := \ libext2_blkid \ libext2_uuid \ @@ -44,7 +47,8 @@ LOCAL_STATIC_LIBRARIES := \ libext2_com_err \ libext2_e2p \ libc++_static \ - libc + libc \ + libm FSTOOLS_LINKS := \ e2fsck mke2fs tune2fs fsck.ext4 mkfs.ext4 \ diff --git a/fstools/fstools.h b/fstools/fstools.h index 2d666bd..97fcfde 100644 --- a/fstools/fstools.h +++ b/fstools/fstools.h @@ -36,6 +36,8 @@ int mkfs_f2fs_main(int argc, char **argv); int fsck_f2fs_main(int argc, char **argv); int fibmap_main(int argc, char **argv); +int sgdisk_main(int argc, char **argv); + struct fstools_cmd { const char *name; int (*main_func)(int argc, char **argv); @@ -55,6 +57,7 @@ static const struct fstools_cmd fstools_cmds[] = { { "mount.ntfs", mount_ntfs3g_main }, { "mkfs.f2fs", mkfs_f2fs_main }, { "fsck.f2fs", fsck_f2fs_main }, + { "sgdisk", sgdisk_main }, { NULL, NULL }, }; |