[Buildroot] [PATCH] boot/uboot: fix missing host-openssl for i.MX28 target
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Thu May 19 14:03:18 UTC 2016
Hello,
On Thu, 19 May 2016 16:02:03 +0300, Baruch Siach wrote:
> > UBOOT_MAKE_OPTS += \
> > CROSS_COMPILE="$(TARGET_CROSS)" \
> > - ARCH=$(UBOOT_ARCH)
> > + ARCH=$(UBOOT_ARCH) \
> > + HOSTCFLAGS="$(HOST_CFLAGS)" \
> > + HOSTLDFLAGS="$(HOST_LDFLAGS)"
>
> Is this hunk necessary to make mxsimage.c build? If so, please explain how in
> the commit log.
I guess it is, to allow the U-Boot build process to find OpenSSL in
$(HOST_DIR): thanks to $(HOST_CFLAGS) and $(HOST_LDFLAGS), the right
-I/-L options will be passed to allow U-Boot to find OpenSSL.
But indeed, it's nice when such things are explicitly said in the
commit log.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list