summaryrefslogtreecommitdiff
path: root/libre/grub
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@parabola.nu>2024-01-07 15:22:55 -0700
committerLuke T. Shumaker <lukeshu@parabola.nu>2024-01-07 20:18:29 -0700
commitea6e1e629e559c7bbda8821be1bcae5b9c2fb528 (patch)
treef6f1b2f2e1751917d47407f613bc4eecbc4d44bc /libre/grub
parent95b197eb948f67a88a0a3bd6d91037d56aa39eec (diff)
libre/grub: run ./bootstrap in prepare() instead of build()
Diffstat (limited to 'libre/grub')
-rw-r--r--libre/grub/PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/libre/grub/PKGBUILD b/libre/grub/PKGBUILD
index dbbf00f06..9e1017f31 100644
--- a/libre/grub/PKGBUILD
+++ b/libre/grub/PKGBUILD
@@ -210,6 +210,11 @@ prepare() {
echo "Avoid problem with unifont during compile of grub..."
# http://savannah.gnu.org/bugs/?40330 and https://bugs.archlinux.org/task/37847
gzip -cd "${srcdir}/unifont-${_unifont_ver}.bdf.gz" > "unifont.bdf"
+
+ echo "Run bootstrap..."
+ ./bootstrap \
+ --gnulib-srcdir="${srcdir}/gnulib/" \
+ --no-git
}
# Usage: _build_grub DIRSUFFIX 'Human Description' CPU-PLATFORM CONFIG_OPTIONS...
@@ -233,11 +238,6 @@ _build_grub() {
unset LDFLAGS
unset MAKEFLAGS
- echo "Run bootstrap for ${bld_desc} build..."
- ./bootstrap \
- --gnulib-srcdir="${srcdir}/gnulib/" \
- --no-git
-
echo "Run ./configure for ${bld_desc} build..."
./configure \
--with-platform="${bld_plat}" \