]> code.ossystems Code Review - openembedded-core.git/commit
u-boot: mkimage: Fix build of u-boot-mkimage
authorMarek Vasut <marex@denx.de>
Mon, 7 Nov 2016 18:20:06 +0000 (19:20 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 8 Dec 2016 10:26:14 +0000 (10:26 +0000)
commitc2980c1d2fe127d56d4c1b797df5a1047d0e2db0
treeb15fdb19e1f0f29c5818aa2892a7702bd6f76fea
parent7f5f8bec25bc05acb7b6584e41e1067107b216dc
u-boot: mkimage: Fix build of u-boot-mkimage

The build failed in multiple configurations. First, the native and
nativesdk was using the host compiler and was pulling host libraries
into the build. Second, the target configuration was attempting to
execute tools/bin2header tool on host, which is compiled for target,
to generate license header file that is not used by tools.

This patch changes the EXTRA_OEMAKE to address these issues, to build
both native and target builds with the correct compilers and correct
sysroots. Moreover, this patch removes the CONFIG_CMD_LICENSE from
tools build, thus disabling the execution of target tools/bin2header.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Ross Burton <ross.burton@intel.com>
meta/recipes-bsp/u-boot/u-boot-mkimage_2016.09.01.bb