Makefile: fix HAVE_VENDOR_COMMON_LIB
authorScott Wood <scottwood@freescale.com>
Tue, 14 Aug 2012 01:44:29 +0000 (01:44 +0000)
committerDetlev Zundel <dzu@denx.de>
Fri, 17 Aug 2012 16:07:12 +0000 (18:07 +0200)
Commit 8b5a02640adf77301f943e8754992c50df004e8a ("Makefile: cosmetic:
optimize usage of LIBS-y") broke the build of boards that have a board
vendor "common" directory, by introducing a space between "LIBS-" and
"y".

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Acked-by: Kim Phillips <kim.phillips@freescale.com>
Makefile
spl/Makefile

index 5ce5cc38e81ec7e73ea574af6f40ff0ff3215f17..947f3ff06ae3af1658ba73ebd4381b12fd2aa0ab 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -225,7 +225,7 @@ endif
 
 OBJS := $(addprefix $(obj),$(OBJS))
 
-HAVE_VENDOR_COMMON_LIB = $(if $(wildcard board/$(VENDOR)/common/Makefile), y, n)
+HAVE_VENDOR_COMMON_LIB = $(if $(wildcard board/$(VENDOR)/common/Makefile),y,n)
 
 LIBS-y += lib/libgeneric.o
 LIBS-y += lib/lzma/liblzma.o
index e9ecb9b75b46d80451e887372dcee2ebee20a01b..2cf7bdad630053010e1869c70750abab32ada4ed 100644 (file)
@@ -23,7 +23,7 @@ include $(TOPDIR)/config.mk
 # We want the final binaries in this directory
 obj := $(OBJTREE)/spl/
 
-HAVE_VENDOR_COMMON_LIB = $(if $(wildcard $(SRCTREE)/board/$(VENDOR)/common/Makefile), y, n)
+HAVE_VENDOR_COMMON_LIB = $(if $(wildcard $(SRCTREE)/board/$(VENDOR)/common/Makefile),y,n)
 
 ifdef  CONFIG_SPL_START_S_PATH
 START_PATH := $(subst ",,$(CONFIG_SPL_START_S_PATH))