[U-Boot] [PATCH] kbuild: allow null board for spl build
Masahiro Yamada
yamada.m at jp.panasonic.com
Fri Apr 25 14:54:31 CEST 2014
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.
---
spl/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/spl/Makefile b/spl/Makefile
index 6fec252..db685f9 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/
--
1.8.3.2
More information about the U-Boot
mailing list