]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - scripts/Kbuild.include
kbuild: add a makefile macro useful with per-image config options
[karo-tx-uboot.git] / scripts / Kbuild.include
index f02eb37f75818916ca2e2cbcb1c8694d6daad0d2..98e09ce5fbf16f03fff204d2aa11aff0e36bd463 100644 (file)
@@ -309,3 +309,9 @@ why =                                                                        \
 
 echo-why = $(call escsq, $(strip $(why)))
 endif
+
+ifdef CONFIG_SPL_BUILD
+SPL_ := SPL_
+else
+SPL_ :=
+endif