allow the parted and fix permissions tools to be optional
diff --git a/extendedcommands.c b/extendedcommands.c
index 31944e7..d70e0fd 100644
--- a/extendedcommands.c
+++ b/extendedcommands.c
@@ -800,8 +800,10 @@
                             "Wipe Battery Stats",
                             "Report Error",
                             "Key Test",
+#ifndef BOARD_HAS_SMALL_RECOVERY
                             "Partition SD Card",
                             "Fix Permissions",
+#endif
                             NULL
     };