summaryrefslogtreecommitdiff
path: root/spl
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-04-25 21:54:31 +0900
committerTom Rini <trini@ti.com>2014-05-12 15:20:05 -0400
commitbf69d6642326cfecef440bb245946903454ff30e (patch)
tree3963ee88ed1cb12202c9414238f462cd341c457c /spl
parentbafd67d3d0f39a19c1e32146cde8b1f4ccd6d666 (diff)
downloadu-boot-imx-bf69d6642326cfecef440bb245946903454ff30e.zip
u-boot-imx-bf69d6642326cfecef440bb245946903454ff30e.tar.gz
u-boot-imx-bf69d6642326cfecef440bb245946903454ff30e.tar.bz2
kbuild: allow null board for spl build
Commit 33a02da0 supported "<none>" for the board field of boards.cfg. But it missed to modify spl/Makefile. This commit provides the flexibility so we can use "<none>" board in SPL too.
Diffstat (limited to 'spl')
-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/