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
**************************************
u-boot requires openssl includes and libs on host, add the missing
dependencies and set HOSTCC, HOSTCFLAGS and HOSTLDFLAGS so the build
can pick up openssl from the LE toolchain
Signed-off-by: Matthias Reichl <hias@horus.com>