From: Masahiro Yamada Date: Fri, 25 Apr 2014 12:54:31 +0000 (+0900) Subject: kbuild: allow null board for spl build X-Git-Tag: v2014.07-rc2~39 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bf69d6642326cfecef440bb245946903454ff30e;p=u-boot kbuild: allow null board for spl build Commit 33a02da0 supported "" for the board field of boards.cfg. But it missed to modify spl/Makefile. This commit provides the flexibility so we can use "" board in SPL too. --- diff --git a/spl/Makefile b/spl/Makefile index a4d973744b..55500fd897 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/