summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/spl/Makefile b/spl/Makefile
index a4d9737..55500fd 100644
--- a/spl/Makefile
+++ b/spl/Makefile
@@ -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/