]> git.ipfire.org Git - people/ms/u-boot.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)
commit832567d5aac53a95138b46fe4a0f42e8357e9934
tree2a959f8774944b083d6c6b48e0afdc32a1637165
parent793f2fd2dc6c644702b3c78fc7a40095827cc4cd
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