mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
Merge pull request #6289 from heitbaum/grub-target
grub: fix builds on non x86_64 build hosts by using TARGET_ for build
This commit is contained in:
commit
97ce049329
@ -46,6 +46,13 @@ pre_configure_target() {
|
||||
|
||||
mkdir -p .${TARGET_NAME}
|
||||
cd .${TARGET_NAME}
|
||||
|
||||
# configure requires explicit TARGET_PREFIX binaries when cross compiling.
|
||||
export TARGET_CC="${TARGET_PREFIX}gcc"
|
||||
export TARGET_OBJCOPY="${TARGET_PREFIX}objcopy"
|
||||
export TARGET_STRIP="${TARGET_PREFIX}strip"
|
||||
export TARGET_NM="${TARGET_PREFIX}nm"
|
||||
export TARGET_RANLIB="${TARGET_PREFIX}ranlib"
|
||||
}
|
||||
|
||||
make_target() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user