diff options
author | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2012-07-19 13:39:58 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2012-08-10 23:17:43 +0200 |
commit | 8b5a02640adf77301f943e8754992c50df004e8a (patch) | |
tree | 6ef7698f5e0f97fc980bc70147792e853d74a405 /spl | |
parent | f52d7b3529e84642e6a62f3deecb622d5a222261 (diff) | |
download | u-boot-imx-8b5a02640adf77301f943e8754992c50df004e8a.zip u-boot-imx-8b5a02640adf77301f943e8754992c50df004e8a.tar.gz u-boot-imx-8b5a02640adf77301f943e8754992c50df004e8a.tar.bz2 |
Makefile: cosmetic: optimize usage of LIBS-y
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Diffstat (limited to 'spl')
-rw-r--r-- | spl/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spl/Makefile b/spl/Makefile index ea7d475..e9ecb9b 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)) |