bootstrap.conf 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. # Bootstrap configuration.
  2. # Copyright (C) 2006-2019 Free Software Foundation, Inc.
  3. # This program is free software: you can redistribute it and/or modify
  4. # it under the terms of the GNU General Public License as published by
  5. # the Free Software Foundation; either version 3 of the License, or
  6. # (at your option) any later version.
  7. # This program is distributed in the hope that it will be useful,
  8. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. # GNU General Public License for more details.
  11. # You should have received a copy of the GNU General Public License
  12. # along with this program. If not, see <https://www.gnu.org/licenses/>.
  13. GNULIB_REVISION=d271f868a8df9bbec29049d01e056481b7a1a263
  14. # gnulib modules used by this package.
  15. # mbswidth is used by gnulib-fix-width.diff's changes to argp rather than
  16. # directly.
  17. gnulib_modules="
  18. argp
  19. error
  20. fnmatch
  21. getdelim
  22. getline
  23. gettext-h
  24. gitlog-to-changelog
  25. mbswidth
  26. progname
  27. realloc-gnu
  28. regex
  29. save-cwd
  30. "
  31. gnulib_tool_option_extras="\
  32. --no-conditional-dependencies \
  33. --no-vc-files \
  34. "
  35. gnulib_name=libgnu
  36. source_base=grub-core/lib/gnulib
  37. gnulib_extra_files="
  38. build-aux/install-sh
  39. build-aux/mdate-sh
  40. build-aux/texinfo.tex
  41. build-aux/depcomp
  42. build-aux/config.guess
  43. build-aux/config.sub
  44. "
  45. # Additional xgettext options to use. Use "\\\newline" to break lines.
  46. XGETTEXT_OPTIONS=$XGETTEXT_OPTIONS'\\\
  47. --from-code=UTF-8\\\
  48. '
  49. checkout_only_file=
  50. copy=true
  51. vc_ignore=
  52. SKIP_PO=t
  53. # Build prerequisites
  54. buildreq="\
  55. autoconf 2.63
  56. automake 1.11
  57. gettext 0.18.3
  58. git 1.5.5
  59. tar -
  60. "
  61. # bootstrap doesn't give us a reasonable way to stop Automake from
  62. # overwriting this, so we just copy our version aside and put it back later.
  63. cp -a INSTALL INSTALL.grub
  64. bootstrap_post_import_hook () {
  65. set -e
  66. for patchname in fix-null-deref fix-width no-abort; do
  67. patch -d grub-core/lib/gnulib -p2 \
  68. < "grub-core/lib/gnulib-patches/$patchname.patch"
  69. done
  70. FROM_BOOTSTRAP=1 ./autogen.sh
  71. set +e # bootstrap expects this
  72. }
  73. bootstrap_epilogue () {
  74. mv INSTALL.grub INSTALL
  75. }