From: Philipp Tomsich Date: Mon, 11 Sep 2017 20:04:09 +0000 (+0200) Subject: bootstage: adjust Makefile to allow including bootstage in SPL, but not in TPL X-Git-Tag: v2017.11-rc1~87^2~33 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=148a139d65b7fdb93326d7870b40c618d4601a8a;p=platform%2Fkernel%2Fu-boot.git bootstage: adjust Makefile to allow including bootstage in SPL, but not in TPL For timing our bootstages on the RK3368, which has a minimal TPL (and where we consequently don't want to time the bootstages) and a full-featured SPL (where we can bootstage recording), we need to adjust the Makefile. Use the $(SPL_TPL_) macro in the Makefile for bootstage.o Signed-off-by: Philipp Tomsich Reviewed-by: Simon Glass Acked-by: Philipp Tomsich --- diff --git a/common/Makefile b/common/Makefile index 1b56cf9..801ea31 100644 --- a/common/Makefile +++ b/common/Makefile @@ -63,7 +63,7 @@ obj-$(CONFIG_CMDLINE) += cli_readline.o cli_simple.o endif # !CONFIG_SPL_BUILD -obj-$(CONFIG_$(SPL_)BOOTSTAGE) += bootstage.o +obj-$(CONFIG_$(SPL_TPL_)BOOTSTAGE) += bootstage.o ifdef CONFIG_SPL_BUILD obj-$(CONFIG_SPL_DFU_SUPPORT) += dfu.o