From bea656b5da7faa01ae562d65eae5421138fba2b4 Mon Sep 17 00:00:00 2001 From: Abdoulaye Walsimou Gaye Date: Wed, 27 Mar 2013 00:23:46 +0100 Subject: Build system: toolchain build: avoid use of __embtk_mk_pathexist when possible Signed-off-by: Abdoulaye Walsimou Gaye --- mk/toolchain.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mk') diff --git a/mk/toolchain.mk b/mk/toolchain.mk index 8a245bb..8660fa5 100644 --- a/mk/toolchain.mk +++ b/mk/toolchain.mk @@ -283,13 +283,13 @@ endef define __embtk_toolchain_core_inst-y $(and $(call __embtk_pkg_installed-y,toolchain), - $(call __embtk_mk_pathexist,$(TOOLCHAIN_DIR)/$(TOOLCHAIN_PACKAGE))) + $(wildcard $(TOOLCHAIN_DIR)/$(TOOLCHAIN_PACKAGE))) endef __embtk_toolchain_core_inst = $(if $(strip $(__embtk_toolchain_core_inst-y)),,core) define __embtk_toolchain_addons_inst-y $(and $(call __embtk_pkg_installed-y,toolchain_addons), - $(call __embtk_mk_pathexist,$(TOOLCHAIN_DIR)/$(TOOLCHAIN_PACKAGE))) + $(wildcard $(TOOLCHAIN_DIR)/$(TOOLCHAIN_PACKAGE))) endef __embtk_toolchain_addons_inst = $(if $(strip $(__embtk_toolchain_addons_inst-y)),,addons) -- cgit v1.2.3