]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/Makefile
bootstage: adjust Makefile to allow including bootstage in SPL, but not in TPL
[people/ms/u-boot.git] / common / Makefile
index 1b56cf9a70fc49e1fb039ee1d485319cc0d9f3ad..801ea3191f6782054dc469970ab90469440e3303 100644 (file)
@@ -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