mirror of
https://codeberg.org/kiss-community/repo
synced 2025-01-22 02:14:41 -07:00
grub: Bye bye python
This commit is contained in:
parent
7471bd94a9
commit
7dc7394fd4
@ -1,5 +1,15 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
# Grub expects Python but it isn't actually needed. Give
|
||||
# it something fake so that configure passes.
|
||||
export PYTHON=/bin/true
|
||||
|
||||
# Disable the post-python mv calls as a means of disabling
|
||||
# the Python tooling. The /bin/true above will create a
|
||||
# blank file, this prevents the blank file from overwriting
|
||||
# the existing one.
|
||||
sed -i 's/mv $@.new $@/:/g' grub/Makefile.in
|
||||
|
||||
# Strip '-march' from 'CFLAGS' as per advice from upstream.
|
||||
# Fixes build fails on specific hardware.
|
||||
CFLAGS=$(printf %s "$CFLAGS" | sed 's/-march=[^ ]*//g')
|
||||
|
@ -2,5 +2,4 @@ binutils make
|
||||
bison make
|
||||
flex make
|
||||
linux-headers make
|
||||
python make
|
||||
xz
|
||||
|
Loading…
Reference in New Issue
Block a user