mirror of
https://codeberg.org/kiss-community/repo
synced 2025-01-06 09:50:10 -07:00
grub: update for new env
This commit is contained in:
parent
43aaf2d19b
commit
23c4094214
@ -18,10 +18,6 @@ done
|
|||||||
CFLAGS=$(printf %s "$CFLAGS" | sed 's/-march=[^ ]*//g')
|
CFLAGS=$(printf %s "$CFLAGS" | sed 's/-march=[^ ]*//g')
|
||||||
CFLAGS=$(printf %s "$CXXFLAGS" | 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() (
|
build_grub() (
|
||||||
cd "grub-${1##*=}"
|
cd "grub-${1##*=}"
|
||||||
|
|
||||||
@ -36,7 +32,7 @@ build_grub() (
|
|||||||
"$@"
|
"$@"
|
||||||
|
|
||||||
make
|
make
|
||||||
make DESTDIR="$pkg_dir" install
|
make install
|
||||||
)
|
)
|
||||||
|
|
||||||
build_grub --with-platform=pc
|
build_grub --with-platform=pc
|
||||||
|
Loading…
Reference in New Issue
Block a user