From 8b5a02640adf77301f943e8754992c50df004e8a Mon Sep 17 00:00:00 2001 From: Daniel Schwierzeck Date: Thu, 19 Jul 2012 13:39:58 +0000 Subject: Makefile: cosmetic: optimize usage of LIBS-y Signed-off-by: Daniel Schwierzeck --- spl/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'spl/Makefile') diff --git a/spl/Makefile b/spl/Makefile index ea7d4750fb..e9ecb9b75b 100644 --- a/spl/Makefile +++ b/spl/Makefile @@ -23,8 +23,7 @@ include $(TOPDIR)/config.mk # We want the final binaries in this directory obj := $(OBJTREE)/spl/ -HAVE_VENDOR_COMMON_LIB := $(shell [ -f $(SRCTREE)/board/$(VENDOR)/common/Makefile ] \ - && echo y || echo 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)) -- cgit v1.2.1