]> git.baikalelectronics.ru Git - uboot.git/commit
rockchip: Makefile: streamline SPL/TPL configuration
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tue, 4 Jul 2017 12:38:28 +0000 (14:38 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Sun, 13 Aug 2017 15:12:33 +0000 (17:12 +0200)
commit949da4611990989298b8170e0e348cff6d5c2103
tree2a959f8774944b083d6c6b48e0afdc32a1637165
parentae34db94bfd75e3effcd572a7cbc95c2577e848a
rockchip: Makefile: streamline SPL/TPL configuration

Handling TPL and SPL in the Makefile for mach-rockchip was based on
nested if checks and/or if-else-if paths.  This can be simplified and
made more readable by using $(SPL_TPL_) and by introducing
intermediate variables for the aggregation of SPL and TPL features.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/mach-rockchip/Makefile