diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2013-03-27 00:23:46 +0100 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2013-03-27 00:23:46 +0100 |
commit | bea656b5da7faa01ae562d65eae5421138fba2b4 (patch) | |
tree | 40ab75419fc389db8c3055bc8e31835741af07e2 /mk | |
parent | 0dfb0aceadc37a5964c3163fe47bf085a6d85f6c (diff) | |
download | embtoolkit-bea656b5da7faa01ae562d65eae5421138fba2b4.tar.gz embtoolkit-bea656b5da7faa01ae562d65eae5421138fba2b4.tar.bz2 embtoolkit-bea656b5da7faa01ae562d65eae5421138fba2b4.tar.xz |
Build system: toolchain build: avoid use of __embtk_mk_pathexist when possible
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'mk')
-rw-r--r-- | mk/toolchain.mk | 4 |
1 files changed, 2 insertions, 2 deletions
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) |