Home
last modified time | relevance | path

Searched hist:"3 b0825296aeba69c2cbfd3e179db2e9cbe5e70d7" (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/tools/env/
H A DMakefile3b0825296aeba69c2cbfd3e179db2e9cbe5e70d7 Mon Mar 13 08:43:16 UTC 2017 Masahiro Yamada <yamada.masahiro@socionext.com> tools: fix cross-compiling tools when HOSTCC is overridden

Richard reported U-Boot tools issues in OpenEmbedded/Yocto project.

OE needs to be able to change the default compiler. If we pass in
HOSTCC through the make command, it overwrites all HOSTCC instances,
including ones in tools/Makefile and tools/env/Makefile, which breaks
"make cross_tools" and "make env", respectively.

Add "override" directives to avoid overriding HOSTCC instances that
really need to point to the cross-compiler.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reported-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
/rk3399_rockchip-uboot/tools/
H A DMakefile3b0825296aeba69c2cbfd3e179db2e9cbe5e70d7 Mon Mar 13 08:43:16 UTC 2017 Masahiro Yamada <yamada.masahiro@socionext.com> tools: fix cross-compiling tools when HOSTCC is overridden

Richard reported U-Boot tools issues in OpenEmbedded/Yocto project.

OE needs to be able to change the default compiler. If we pass in
HOSTCC through the make command, it overwrites all HOSTCC instances,
including ones in tools/Makefile and tools/env/Makefile, which breaks
"make cross_tools" and "make env", respectively.

Add "override" directives to avoid overriding HOSTCC instances that
really need to point to the cross-compiler.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reported-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reviewed-by: Simon Glass <sjg@chromium.org>