Masahiro Yamada
3b0825296a
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>
2017-03-14 20:40:22 -04:00
..
2017-03-11 22:30:28 -05:00
2017-03-09 19:52:14 -05:00
2017-02-08 06:07:35 -07:00
2015-11-10 09:19:52 -05:00
2017-03-14 20:40:22 -04:00
2014-02-19 11:07:50 -05:00
2014-01-24 16:59:07 -05:00
2016-12-16 17:15:27 +01:00
2013-07-24 09:44:38 -04:00
2017-02-08 06:12:16 -07:00
2016-06-13 07:46:29 +09:00
2016-05-13 11:25:59 -04:00
2017-02-07 10:54:33 -06:00
2015-01-29 13:38:41 -05:00
2013-10-14 16:06:53 -04:00
2016-05-02 18:37:09 -04:00
2016-05-02 18:37:09 -04:00
2013-08-10 10:48:00 +02:00
2017-01-02 17:06:57 +01:00
2015-01-29 13:38:41 -05:00
2014-06-19 11:19:04 -04:00
2016-11-23 23:41:23 -08:00
2014-03-21 16:40:38 -04:00
2016-10-06 20:57:40 -04:00
2015-10-24 13:50:30 -04:00
2014-06-11 16:25:46 -04:00
2014-06-11 16:25:46 -04:00
2017-01-14 16:47:13 -05:00
2014-08-14 11:20:24 +02:00
2015-09-28 10:48:25 -04:00
2017-02-07 10:54:33 -06:00
2016-05-27 15:47:56 -04:00
2013-07-24 09:44:38 -04:00
2014-04-17 17:24:38 -04:00
2015-01-29 13:38:41 -05:00
2015-01-29 13:38:41 -05:00
2016-12-20 08:09:55 +13:00
2014-12-13 22:32:04 -07:00
2017-01-14 16:47:13 -05:00
2016-06-24 17:23:10 -04:00
2017-01-14 16:47:13 -05:00
2013-10-14 16:06:54 -04:00
2017-01-27 10:27:32 +01:00
2016-10-24 10:57:16 +02:00
2017-02-17 10:15:21 +01:00
2017-02-01 09:04:18 +01:00
2017-02-17 10:15:56 +01:00
2015-04-10 14:23:26 +02:00
2017-03-14 20:40:22 -04:00
2014-12-18 17:26:08 -07:00
2016-01-13 12:20:14 +08:00
2013-07-24 09:45:01 -04:00
2013-07-24 09:45:01 -04:00
2015-03-28 12:07:47 -04:00
2015-10-24 13:50:30 -04:00
2017-01-20 15:38:04 -05:00
2014-06-19 11:19:04 -04:00
2016-10-30 11:38:04 +01:00
2016-10-24 08:04:42 -04:00
2016-02-21 11:09:19 +01:00
2016-12-19 12:26:39 -05:00
2014-11-20 10:13:45 +01:00
2017-03-14 20:40:17 -04:00
2014-04-17 17:24:38 -04:00
2013-07-24 09:45:01 -04:00
2013-07-24 09:45:01 -04:00
2014-06-05 14:38:38 -04:00
2014-06-05 14:38:38 -04:00
2016-10-14 10:21:30 -07:00
2013-10-14 16:06:53 -04:00
2015-11-16 17:22:18 -05:00
2016-12-27 11:24:12 -05:00
2016-07-25 20:46:45 -06:00
2015-12-13 17:07:29 -07:00
2016-05-27 10:23:07 -06:00
2016-01-21 20:42:37 -07:00
2015-12-13 17:07:29 -07:00
2016-01-08 07:59:06 -07:00
2015-01-29 13:38:41 -05:00
2015-01-29 13:38:41 -05:00
2013-10-14 16:06:53 -04:00
2014-06-19 11:19:04 -04:00
2016-10-06 09:06:16 +02:00
2016-12-27 11:24:16 -05:00
2016-12-27 11:24:16 -05:00