diff mbox

[U-Boot] kbuild: allow null board for spl build

Message ID 1398430471-13629-1-git-send-email-yamada.m@jp.panasonic.com
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Masahiro Yamada April 25, 2014, 12:54 p.m. UTC
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(-)

Comments

Tom Rini May 13, 2014, 1:53 a.m. UTC | #1
On Fri, Apr 25, 2014 at 09:54:31PM +0900, Masahiro Yamada wrote:

> 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.

Applied to u-boot/master, thanks!
diff mbox

Patch

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/