mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
u-boot-tools: fix make_host
Without defining HOSTCC Makefile.host was defaulting to the operating system cc. In the minimal docker image (focal) - cc is not available. PROJECT=Amlogic ARCH=aarch64 DEVICE=AMLGX UBOOT_SYSTEM=odroid-n2 scripts/build u-boot-tools:host BUILD u-boot-tools (host) TOOLCHAIN make (auto-detect) PKG_NAME="u-boot-tools" HOSTCC scripts/basic/fixdep /bin/sh: 1: cc: not found make[1]: *** [scripts/Makefile.host:95: scripts/basic/fixdep] Error 127 make: *** [Makefile:488: scripts_basic] Error 2 FAILURE: s/build u-boot-tools:host during make_host (package.mk) *********** FAILED COMMAND *********** make qemu-x86_64_defconfig **************************************
This commit is contained in:
parent
b9d3fa5ddf
commit
8e2a7bdf43
@ -11,7 +11,7 @@ PKG_DEPENDS_HOST="ccache:host bison:host flex:host openssl:host pkg-config:host"
|
||||
PKG_LONGDESC="Das U-Boot is a cross-platform bootloader for embedded systems."
|
||||
|
||||
make_host() {
|
||||
make qemu-x86_64_defconfig
|
||||
make qemu-x86_64_defconfig HOSTCC="${HOST_CC}" HOSTCFLAGS="-I${TOOLCHAIN}/include" HOSTLDFLAGS="${HOST_LDFLAGS}"
|
||||
make tools-only HOSTCC="${HOST_CC}" HOSTCFLAGS="-I${TOOLCHAIN}/include" HOSTLDFLAGS="${HOST_LDFLAGS}"
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user