From: Philipp Tomsich Date: Sun, 06 Aug 2017 19:18:21 +0200 Subject: [U-Boot] [U-Boot, v4, 49/66] rockchip: Makefile: streamline SPL/TPL configuration In-Reply-To: <1501706105-7490-50-git-send-email-philipp.tomsich@theobroma-systems.com> References: <1501706105-7490-50-git-send-email-philipp.tomsich@theobroma-systems.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > 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 > > Reviewed-by: Simon Glass > --- > > Changes in v4: None > Changes in v3: None > Changes in v2: None > > arch/arm/mach-rockchip/Makefile | 46 +++++++++++++++++++++++++---------------- > 1 file changed, 28 insertions(+), 18 deletions(-) > Applied to u-boot-rockchip, thanks!