From 23c4094214722512179f72152a7850a7f4960c0a Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 15 Jul 2021 12:16:05 +0300 Subject: [PATCH] grub: update for new env --- core/grub/build | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/core/grub/build b/core/grub/build index e87b0b3e..6722e565 100755 --- a/core/grub/build +++ b/core/grub/build @@ -18,10 +18,6 @@ done CFLAGS=$(printf %s "$CFLAGS" | sed 's/-march=[^ ]*//g') CFLAGS=$(printf %s "$CXXFLAGS" | sed 's/-march=[^ ]*//g') -# Grub is built in a function so the script argument -# needs to be stored. -pkg_dir=$1 - build_grub() ( cd "grub-${1##*=}" @@ -36,7 +32,7 @@ build_grub() ( "$@" make - make DESTDIR="$pkg_dir" install + make install ) build_grub --with-platform=pc