]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - scripts/Makefile.spl
Makefile: Provide an option to select SPL or TPL
[people/ms/u-boot.git] / scripts / Makefile.spl
index 5370648e853d2d2e9d211069f2dc5d3e12f0f765..4485ea88129f0e58d04be2f052121577b60d2b98 100644 (file)
@@ -37,8 +37,14 @@ endif
 
 ifdef CONFIG_SPL_BUILD
 SPL_ := SPL_
+ifeq ($(CONFIG_TPL_BUILD),y)
+SPL_TPL_ := TPL_
+else
+SPL_TPL_ := SPL_
+endif
 else
 SPL_ :=
+SPL_TPL_ :=
 endif
 
 include $(srctree)/config.mk