Recovery: Add support for filesystems >2gb

Add a  prebuilt static linked mke2fs with support for >2gb FS.
Add board_has_large_filesystem define
Adjust mmcutils for differences between busybox and static mke2fs

Change-Id: Ib02771ee161e8874b6840067dc8682fc63ad6513
diff --git a/mmcutils/mmcutils.c b/mmcutils/mmcutils.c
index da87567..322f69b 100644
--- a/mmcutils/mmcutils.c
+++ b/mmcutils/mmcutils.c
@@ -341,12 +341,12 @@
 int
 format_ext3_device (const char *device) {
     // Run mke2fs
-    char *const mke2fs[] = {MKE2FS_BIN, "-j", device, NULL};
+    char *const mke2fs[] = {MKE2FS_BIN, "-j", "-q", device, NULL};
     if(run_exec_process(mke2fs))
         return -1;
 
     // Run tune2fs
-    char *const tune2fs[] = {TUNE2FS_BIN, "-j", "-C", "1", device, NULL};
+    char *const tune2fs[] = {TUNE2FS_BIN, "-C", "1", device, NULL};
     if(run_exec_process(tune2fs))
         return -1;
 
diff --git a/utilities/Android.mk b/utilities/Android.mk
index f6b6e64..860781b 100644
--- a/utilities/Android.mk
+++ b/utilities/Android.mk
@@ -42,4 +42,14 @@
 LOCAL_SRC_FILES := $(LOCAL_MODULE)
 include $(BUILD_PREBUILT)
 
+ifneq ($BOARD_HAS_LARGE_FILESYSTEM,)
+include $(CLEAR_VARS)
+LOCAL_MODULE := mke2fs
+LOCAL_MODULE_TAGS := eng
+LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES
+LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin
+LOCAL_SRC_FILES := $(LOCAL_MODULE)
+include $(BUILD_PREBUILT)
+endif
+
 endif
diff --git a/utilities/mke2fs b/utilities/mke2fs
new file mode 100644
index 0000000..6e415b8
--- /dev/null
+++ b/utilities/mke2fs
Binary files differ