Introduce mock codepages config option for mtools

We're using arm64 version of mmd to generate ESP
image for cuttlefish boot. But AOSP only supports bionic
libc for arm64, so introduce here mock codepages to use it
instead of glibc specific iconv library. It introduces additional
limitations that every path inside msdos partition must only
contain symbols between ' ' and '~' that we're ok with.

Bug: 227660047
Test: launch_cvd on x86 and aarm64 to verify ESP image is correct

Change-Id: Ieae82efdafbd055e062afc964d1118e7c87473a6
2 files changed
tree: 872cc26602b8994b786ab4afbae2d28890ac62cf
  1. debian/
  2. m4/
  3. scripts/
  4. aclocal.m4
  5. Android.bp
  6. buffer.c
  7. buffer.h
  8. buildMingw.sh
  9. byte_dword.h
  10. charsetConv.c
  11. cleanconfig
  12. codepage.h
  13. codepages.c
  14. config.c
  15. config.guess
  16. config.h
  17. config.h.Be
  18. config.h.in
  19. config.sub
  20. configure
  21. configure-stamp
  22. configure.in
  23. copyfile.c
  24. COPYING
  25. device.c
  26. device.h
  27. devices.c
  28. devices.h
  29. dirCache.c
  30. dirCache.h
  31. dirCacheP.h
  32. directory.c
  33. direntry.c
  34. dos2unix.c
  35. expand.c
  36. fat.c
  37. fat_free.c
  38. fat_size_calculation.tex
  39. file.c
  40. file.h
  41. file_name.c
  42. file_name.h
  43. file_read.c
  44. floppyd.1
  45. floppyd.c
  46. floppyd_installtest.1
  47. floppyd_installtest.c
  48. floppyd_io.c
  49. floppyd_io.h
  50. force_io.c
  51. fs.h
  52. fsP.h
  53. hash.c
  54. htable.h
  55. init.c
  56. INSTALL
  57. install-sh
  58. lba.c
  59. lba.h
  60. llong.c
  61. llong.h
  62. lockdev.c
  63. lockdev.h
  64. lz.1
  65. mainloop.c
  66. mainloop.h
  67. Makefile.Be
  68. Makefile.in
  69. man-warning-end.texi
  70. man-warning.texi
  71. match.c
  72. mattrib.1
  73. mattrib.c
  74. mbadblocks.1
  75. mbadblocks.c
  76. mcat.1
  77. mcat.c
  78. mcd.1
  79. mcd.c
  80. mcomp.1
  81. mcopy.1
  82. mcopy.c
  83. mdel.1
  84. mdel.c
  85. mdeltree.1
  86. mdir.1
  87. mdir.c
  88. mdoctorfat.c
  89. mdu.1
  90. mdu.c
  91. METADATA
  92. mformat.1
  93. mformat.c
  94. minfo.1
  95. minfo.c
  96. misc.c
  97. missFuncs.c
  98. mk_direntry.c
  99. mkdosboot
  100. mkinstalldirs
  101. mkmanifest.1
  102. mkmanifest.c
  103. mkmanpages
  104. mlabel.1
  105. mlabel.c
  106. mmd.1
  107. mmd.c
  108. mmount.1
  109. mmount.c
  110. mmove.1
  111. mmove.c
  112. MODULE_LICENSE_GFDL
  113. MODULE_LICENSE_GPL
  114. mpartition.1
  115. mpartition.c
  116. mrd.1
  117. mren.1
  118. msdos.h
  119. mshortname.1
  120. mshortname.c
  121. mshowfat.1
  122. mshowfat.c
  123. mtools.1
  124. mtools.5
  125. mtools.c
  126. mtools.conf
  127. mtools.h
  128. mtools.info
  129. mtools.spec
  130. mtools.texi
  131. mtools.tmpl.1
  132. mtools.tmpl.5
  133. mtoolsDirentry.h
  134. mtoolsPaths.h
  135. mtoolstest.1
  136. mtype.1
  137. mxtar.1
  138. mzip.1
  139. mzip.c
  140. nameclash.h
  141. NEWS
  142. offset.c
  143. offset.h
  144. old_dos.c
  145. old_dos.h
  146. open_image.c
  147. open_image.h
  148. OWNERS
  149. partition.c
  150. partition.h
  151. patchlevel.c
  152. plain_io.c
  153. plain_io.h
  154. precmd.c
  155. privileges.c
  156. privtest.c
  157. read_dword.h
  158. README
  159. README.BEBOX
  160. Release.notes
  161. remap.c
  162. remap.h
  163. scsi.c
  164. scsi.h
  165. scsi_io.c
  166. scsi_io.h
  167. signal.c
  168. stream.c
  169. stream.h
  170. streamcache.c
  171. strip-pp.sed
  172. strtonum.c
  173. swap.c
  174. swap.h
  175. sysconfdir.texi
  176. sysincludes.h
  177. texinfo.tex
  178. tgz.1
  179. tty.c
  180. unix2dos.c
  181. unixdir.c
  182. uz.1
  183. version.texi
  184. vfat.c
  185. vfat.h
  186. xdf_io.c
  187. xdf_io.h