]> code.ossystems Code Review - openembedded-core.git/commit
u-boot-mkimage: Fix use of 'cc' instead of BUILD_CC
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 11 Mar 2017 10:37:38 +0000 (10:37 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 11 Mar 2017 16:08:48 +0000 (16:08 +0000)
commite777d6873ce9a8a80288ecbcfc86239e0ed0e2f9
tree6eada82cebd48e0088632a93e17aa7101a173f7b
parent78615e9260fb5d6569de4883521b049717fa4340
u-boot-mkimage: Fix use of 'cc' instead of BUILD_CC

OE needs to be able to change the default compiler. If we pass in HOSTCC
through the make command, it overwrites not only this setting but also the
setting in tools/Makefile wrapped in ifneq ($(CROSS_BUILD_TOOLS),) which
breaks the build.

We therefore add a way of changing the default in the top level Makefile
without interfering with the other setting.

I've emailed this workaround to Masahiro Yamada for discussion.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-bsp/u-boot/files/default-gcc.patch [new file with mode: 0644]
meta/recipes-bsp/u-boot/u-boot-mkimage_2017.01.bb