summaryrefslogtreecommitdiff
path: root/script/build/grub/utils
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-10-06 01:34:14 +0100
committerLeah Rowe <leah@libreboot.org>2023-10-06 01:34:14 +0100
commit1c2de7f962115a96668aa1f66b1cc1fee3be6922 (patch)
tree7487c70c1d4992a24c1be4ab87b16b69aba86014 /script/build/grub/utils
parent176722a841e59f4a6664bad45dc9344364a4a166 (diff)
unify build/grub/* to build/coreboot/grub
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/build/grub/utils')
-rwxr-xr-xscript/build/grub/utils29
1 files changed, 0 insertions, 29 deletions
diff --git a/script/build/grub/utils b/script/build/grub/utils
deleted file mode 100755
index edb78bb1..00000000
--- a/script/build/grub/utils
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env sh
-# SPDX-License-Identifier: GPL-3.0-or-later
-# SPDX-FileCopyrightText: 2014, 2015, 2020, 2023 Leah Rowe <leah@libreboot.org>
-# SPDX-FileCopyrightText: 2015, 2016 Klemens Nanni <contact@autoboot.org>
-
-[ "x${DEBUG+set}" = 'xset' ] && set -v
-set -u -e
-
-. "include/err.sh"
-
-main()
-{
- [ -d "grub/" ] || x_ ./update project repo grub
- build_grub
-}
-
-build_grub()
-{
- (
- x_ cd grub/
- [ ! -d Makefile ] || x_ make distclean
- x_ ./bootstrap --gnulib-srcdir=gnulib/ --no-git
- x_ ./autogen.sh
- x_ ./configure --with-platform=coreboot
- x_ make -j$(nproc) FS_PAYLOAD_MODULES=""
- )
-}
-
-main $@