[OE-core] [PATCH] u-boot: mkimage: fix build

Burton, Ross ross.burton at intel.com
Mon Nov 7 15:00:40 UTC 2016


On 4 November 2016 at 11:06, Stefan Müller-Klieser <
s.mueller-klieser at phytec.de> wrote:

> This fixes the mkimage build for situations where HOSTCC and friends
> need to be overridden and the u-boot makefile defaults don't work.
>

I applied this on top of the u-boot upgrades and it still breaks:

make -f ./scripts/Makefile.build obj=tools
  x86_64-poky-linux-gcc  -m64 -march=corei7 -mtune=corei7 -mfpmath=sse
-msse4.2 --sysroot=/data/poky-master/tmp-glibc/sysroots/intel-corei7-64
-Wp,-MD,tools/.bin2header.d -O2 -pipe -g -feliminate-unused-debug-types
-fdebug-prefix-map=/data/poky-master/tmp-glibc/work/corei7-64-poky-linux/u-boot-mkimage/2016.09.01-r0=/usr/src/debug/u-boot-mkimage/2016.09.01-r0
-fdebug-prefix-map=/data/poky-master/tmp-glibc/sysroots/x86_64-linux=
-fdebug-prefix-map=/data/poky-master/tmp-glibc/sysroots/intel-corei7-64=
 -fstack-protector-strong -pie -fpie -D_FORTIFY_SOURCE=2 -Wformat
-Wformat-security -Werror=format-security   -DCONFIG_FIT_SIGNATURE -include
./include/libfdt_env.h -idirafterinclude -idirafter./arch/sandbox/include
-I./lib/libfdt -I./tools -DCONFIG_SYS_TEXT_BASE=0 -DUSE_HOSTCC
-D__KERNEL_STRICT_NAMES -D_GNU_SOURCE  -o tools/bin2header
tools/bin2header.c
...
cat ./Licenses/gpl-2.0.txt | gzip -9 -c | \
tools/bin2header license_gzip > ./include/license.h
/bin/sh: 2: tools/bin2header: not found
tools/Makefile:256: recipe for target 'include/license.h' failed

Looks like HOSTCC isn't being set correctly.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20161107/927af002/attachment-0002.html>


More information about the Openembedded-core mailing list