aboutsummaryrefslogtreecommitdiff
path: root/spl/Makefile
diff options
context:
space:
mode:
authorDaniel Schwierzeck2012-07-19 13:39:58 +0000
committerWolfgang Denk2012-08-10 23:17:43 +0200
commit8b5a02640adf77301f943e8754992c50df004e8a (patch)
tree6ef7698f5e0f97fc980bc70147792e853d74a405 /spl/Makefile
parentf52d7b3529e84642e6a62f3deecb622d5a222261 (diff)
Makefile: cosmetic: optimize usage of LIBS-y
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Diffstat (limited to 'spl/Makefile')
-rw-r--r--spl/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/spl/Makefile b/spl/Makefile
index ea7d4750fbe..e9ecb9b75b4 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))