[ELDK] [PATCH v2 1/2] META-ELDK: u-boot-mkimage: unbreak U-Boot tools build
Marek Vasut
marex at denx.de
Tue Apr 22 18:49:37 CEST 2014
On Tuesday, April 22, 2014 at 04:06:26 PM, Gerhard Sittig wrote:
> building the u-boot-mkimage-native package breaks with the error message
>
> mxsimage.c:18:25: fatal error: openssl/evp.h: No such file or directory
>
> OpenSSL related header files are not found despite their being present
> in the native sysroot
>
> the error can be hidden by libssl-dev packages in the build machine, in
> this case the host's header files are used instead (which would result
> in building applications against headers that don't match the library
> which gets used at runtime, and is as bad)
>
> this change unbreaks compilation of the u-boot-mkimage-native package;
> passing both the CC as well as the CFLAGS values within one HOSTCC spec
> is done because passing individual HOSTCFLAGS does not work for v2014.01
> and results in the error message
>
> gcc -isystem.../tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -o
> default_image.o default_image.c -c In file included from imagetool.h:12:0,
> from aisimage.c:8:
> os_support.h:10:22: fatal error: compiler.h: No such file or directory
> compilation terminated.
>
> Signed-off-by: Gerhard Sittig <gsi at denx.de>
> ---
>
> changes in v2:
> - reword and expand the commit message for improved clarity,
> state why passing individual CFLAGS doesn't work
> - break the long EXTRA_OEMAKE recipe text line
>
> I'm happy to capitalize sentences in the commit message (assuming that
> there is so strong a policy for non-documentation parts), after the
> actual change has been verified. My tests included generic-armv7a-hf,
> socfpga and m28evk.
Please capitalize, yes, there's a strong policy when communicating with other
people ;-)
Otherwise:
Acked-by: Marek Vasut <marex at denx.de>
Best regards,
Marek Vasut
More information about the eldk
mailing list