]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - spl/Makefile
kbuild: allow null board for spl build
[karo-tx-uboot.git] / spl / Makefile
index a4d973744b3210614f312281a3a45f69a76a55ff..55500fd8970042fb537d1df90f65529af2236877 100644 (file)
@@ -88,7 +88,7 @@ libs-y += $(CPUDIR)/
 ifdef SOC
 libs-y += $(CPUDIR)/$(SOC)/
 endif
-libs-y += board/$(BOARDDIR)/
+libs-y += $(if $(BOARDDIR),board/$(BOARDDIR)/)
 libs-$(HAVE_VENDOR_COMMON_LIB) += board/$(VENDOR)/common/
 
 libs-$(CONFIG_SPL_FRAMEWORK) += common/spl/