1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-02-02 23:57:56 +01:00
Files
u-boot-megous/drivers
Marek Vasut a9d7990dc4 serial: Fix Makefile during SPL and TPL build
This patch fixes a situation where CONFIG_DM_SERIAL is enabled for
regular U-Boot and SPL, but not for TPL. In that case, the build
will try to include serial-uclass into the TPL nonetheless, because
CONFIG_DM_SERIAL is set.

The solution is to check if the build is for SPL or TPL and in that
case, check if CONFIG_$(SPL_TPL_)DM_SERIAL is also set. Only in that
case, include serial-uclass.c . If the build is for regular U-Boot,
CONFIG_BUILD is not set, so only check if CONFIG_DM_SERIAL is set
and if so, include serial-uclass.c

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@konsulko.com>
2018-04-11 13:22:05 -04:00
..
2018-02-13 23:24:22 -05:00
2018-04-10 15:18:56 -04:00
2018-03-21 23:23:13 +01:00
2018-02-18 15:53:48 -07:00
2018-02-21 20:28:15 +01:00
2018-04-06 20:45:44 -04:00
2018-04-06 16:30:37 -04:00
2018-04-06 17:04:33 -04:00
2018-03-21 23:23:13 +01:00
2018-04-01 20:36:39 -04:00
2018-03-13 18:12:35 +01:00
2016-02-06 12:00:59 +01:00
2018-04-07 09:19:00 -04:00
2018-03-09 09:23:10 -05:00
2018-03-19 16:14:20 -04:00